yt-dlp: fix bash-completion installation (_moth__)

This commit is contained in:
Steffen Nurpmeso 2022-04-16 18:31:42 +02:00
parent fbe3a6417f
commit de7d67467a
2 changed files with 4 additions and 4 deletions

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF3xjHP0GV2FJx+x5dzaLqWQQ0FcT7E1rzV/lYjKZNg5ZzSU+69oCkJyjf3t5eUciUzko+OlZ2EU4YmlCXbzGFnAU=
SHA256 (Pkgfile) = 2261ab2420faeb44d5fdcc0583a00fcf356a04a85262d6332c77cfc12a3c2b1a
RWSagIOpLGJF30uRrjQhQgUHwoDdPmpXOVVjK/nrdgj/nw3UPYSxAs1MxhwdO1NordO+dH9Kqn5Orr8tg/PTBv2GsblwOR/IaQY=
SHA256 (Pkgfile) = 71b80a7e410ce29398b3f35cf62043f0a9fea1b7f4d468486864d57c8b709fa5
SHA256 (.footprint) = b13330c79f44e19de64e7dc4026d3d5ab368dcfaded6e2d25ce4813c47f0a796
SHA256 (yt-dlp-2022.04.08.tar.gz) = a9ea3753977dd82f051f0674fbdc3eb5ff49a67246f4bd3cac5745702828d1db

View File

@ -5,7 +5,7 @@
name=yt-dlp
version=2022.04.08
release=2
release=3
source=(https://github.com/${name}/${name}/releases/download/\
${version}/${name}.tar.gz)
renames=(${name}-${version}.tar.gz)
@ -17,7 +17,7 @@ build() {
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 ${name}/completions/bash/yt-dlp \
install -D completions/bash/yt-dlp \
"${PKG}"/usr/share/bash-completion/completions/${name}
fi
}