aboutsummaryrefslogtreecommitdiffstats
path: root/community/you-get/APKBUILD
blob: f6fe63b95500c67042b8e2c2688f8f1e3eebf36a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Contributor: Ivan Tham <pickfire@riseup.net>
# Maintainer: prspkt <prspkt@protonmail.com>
pkgname=you-get
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() {
	python3 setup.py build
}

check() {
	python3 setup.py 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="
2d9bc2e66da39dbe0146ad4ff88dd1b45ce17a2208b82196c96a36ed1f4a0a86ade274b3c7b8cf683cf46d69f813caed1e24f58a3a7677a29f1999707da9a5ba  you-get-0.4.1525.tar.gz
"