community/you-get: upgrade to 0.4.1525

- Adopt and add shell completions.
This commit is contained in:
prspkt 2021-05-25 23:00:38 +03:00
parent 82a16920d1
commit 85cb065bcc

View File

@ -1,14 +1,18 @@
# Contributor: Ivan Tham <pickfire@riseup.net>
# Maintainer: Ivan Tham <pickfire@riseup.net>
# Maintainer: prspkt <prspkt@protonmail.com>
pkgname=you-get
pkgver=0.4.1456
pkgrel=2
pkgver=0.4.1525
pkgrel=0
pkgdesc="Tiny command line utility to download media contents"
url="https://you-get.org"
arch="noarch"
license="MIT"
depends="ca-certificates ffmpeg python3"
makedepends="py3-setuptools"
subpackages="
$pkgname-bash-completion
$pkgname-fish-completion
$pkgname-zsh-completion"
source="https://files.pythonhosted.org/packages/source/y/you-get/you-get-$pkgver.tar.gz"
build() {
@ -21,6 +25,15 @@ check() {
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
install -Dm644 contrib/completion/you-get-completion.bash \
"$pkgdir"/usr/share/bash-completion/completions/you-get
install -Dm644 contrib/completion/you-get.fish \
"$pkgdir"/usr/share/fish/completions/you-get.fish
install -Dm644 contrib/completion/_you-get \
"$pkgdir"/usr/share/zsh/site-functions/_you-get
}
sha512sums="2580a8f9b658115624ac33c882fa3c81cb424af5b74334a6cea9fbd38c64102655d4babc4a011e5cf62987950de502d78bbf18133d1dec7b72e333e576c1085a you-get-0.4.1456.tar.gz"
sha512sums="
2d9bc2e66da39dbe0146ad4ff88dd1b45ce17a2208b82196c96a36ed1f4a0a86ade274b3c7b8cf683cf46d69f813caed1e24f58a3a7677a29f1999707da9a5ba you-get-0.4.1525.tar.gz
"