2021-12-22 22:09:05 +01:00
|
|
|
# Description: CLI program to access YouTub and other data content
|
|
|
|
# URL: https://github.com/yt-dlp/yt-dlp
|
2021-12-26 01:24:03 +01:00
|
|
|
# Maintainer: Steffen Nurpmeso, steffen at sdaoden dot eu
|
2021-12-22 22:09:05 +01:00
|
|
|
# Depends on: python3-setuptools
|
|
|
|
|
|
|
|
name=yt-dlp
|
2022-11-12 17:22:35 +01:00
|
|
|
version=2022.11.11
|
2022-05-18 12:51:01 +02:00
|
|
|
release=1
|
2022-01-22 19:08:41 +01:00
|
|
|
source=(https://github.com/${name}/${name}/releases/download/\
|
|
|
|
${version}/${name}.tar.gz)
|
2022-04-08 18:55:53 +02:00
|
|
|
renames=(${name}-${version}.tar.gz)
|
2021-12-22 22:09:05 +01:00
|
|
|
|
|
|
|
build() {
|
2022-01-22 19:08:41 +01:00
|
|
|
cd ${name} #-${version}
|
2021-12-22 22:09:05 +01:00
|
|
|
|
2022-03-01 16:53:24 +01:00
|
|
|
install -D ${name} "${PKG}"/usr/bin/${name}
|
|
|
|
install -D -m 0644 ${name}.1 "${PKG}"/usr/share/man/man1/${name}.1
|
2022-04-14 17:11:23 +02:00
|
|
|
|
|
|
|
if prt-get isinst bash-completion > /dev/null 2>&1; then
|
2022-04-16 18:31:42 +02:00
|
|
|
install -D completions/bash/yt-dlp \
|
2022-04-14 17:11:23 +02:00
|
|
|
"${PKG}"/usr/share/bash-completion/completions/${name}
|
|
|
|
fi
|
2021-12-22 22:09:05 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
# s-sh-mode
|