summaryrefslogtreecommitdiff
path: root/yt-dlp/Pkgfile
blob: d1b96a03cdcc07560f9b65483e17134721f3a48b (plain)
    1 # Description: CLI program to access YouTub and other data content
    2 # URL:         https://github.com/yt-dlp/yt-dlp
    3 # Maintainer:  Aaron Ball, nullspoon at oper dot io
    4 # Depends on:  python3-setuptools
    5 
    6 name=yt-dlp
    7 version=2024.12.23
    8 release=1
    9 source=(https://github.com/${name}/${name}/releases/download/${version}/${name}.tar.gz)
   10 renames=(${name}-${version}.tar.gz)
   11 
   12 build() {
   13    cd ${name}
   14 
   15    install -D ${name} "${PKG}/usr/bin/${name}"
   16    install -D -m 0644 "${name}.1" "${PKG}/usr/share/man/man1/${name}.1"
   17 
   18    if prt-get isinst bash-completion > /dev/null 2>&1; then
   19       install -D completions/bash/yt-dlp \
   20          "${PKG}/usr/share/bash-completion/completions/${name}"
   21    fi
   22 }

Generated by cgit