forked from ports/contrib
26 lines
721 B
Plaintext
26 lines
721 B
Plaintext
# Description: CLI program to access YouTub and other data content
|
|
# URL: https://github.com/yt-dlp/yt-dlp
|
|
# Maintainer: Steffen Nurpmeso, steffen at sdaoden dot eu
|
|
# Depends on: python3-setuptools
|
|
|
|
name=yt-dlp
|
|
version=2022.11.11
|
|
release=1
|
|
source=(https://github.com/${name}/${name}/releases/download/\
|
|
${version}/${name}.tar.gz)
|
|
renames=(${name}-${version}.tar.gz)
|
|
|
|
build() {
|
|
cd ${name} #-${version}
|
|
|
|
install -D ${name} "${PKG}"/usr/bin/${name}
|
|
install -D -m 0644 ${name}.1 "${PKG}"/usr/share/man/man1/${name}.1
|
|
|
|
if prt-get isinst bash-completion > /dev/null 2>&1; then
|
|
install -D completions/bash/yt-dlp \
|
|
"${PKG}"/usr/share/bash-completion/completions/${name}
|
|
fi
|
|
}
|
|
|
|
# s-sh-mode
|