blob: d885bbafd81c1d95b54371d6e11ba8ce376a0c84 (
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.06
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 }
|