aboutsummaryrefslogtreecommitdiffstats
path: root/community/you-get/APKBUILD
blob: 881ec78dcfe9811ebb52dff9c271aa9411af8714 (plain)
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
# Contributor: Ivan Tham <pickfire@riseup.net>
# Maintainer: Ivan Tham <pickfire@riseup.net>
pkgname=you-get
pkgver=0.4.1270
pkgrel=1
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 python3-dev"
source="https://files.pythonhosted.org/packages/source/${pkgname:0:1}/$pkgname/$pkgname-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	python3 setup.py build
}

check() {
	cd "$builddir"
	python3 setup.py check
}

package() {
	cd "$builddir"
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="8786fbe4d17ebeaa7398220e936cf48048f830a6060170339c16b6b31a144ad9c1cc5c87bb14deac9c106672d366413c3cce41ee1de4af77cb7f04a7049dbf1a  you-get-0.4.1270.tar.gz"