mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
42 lines
1.1 KiB
Plaintext
42 lines
1.1 KiB
Plaintext
# Contributor: Ivan Tham <pickfire@riseup.net>
|
|
# Maintainer: prspkt <prspkt@protonmail.com>
|
|
pkgname=you-get
|
|
pkgver=0.4.1620
|
|
pkgrel=2
|
|
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-pyc
|
|
$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() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
python3 setup.py check
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --skip-build --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="
|
|
6e3ab724fb52d3c5e64caf224ce107f4b8b858771474cee36966ff15f36b9f636e2f5f946cd783151330e4440844b6bdd02b62d5e3808ebcff988b594db45e79 you-get-0.4.1620.tar.gz
|
|
"
|