aboutsummaryrefslogtreecommitdiffstats
path: root/PKGBUILD
blob: ffe6edbda4bbe4c188f31d3bf983b302ebc3e7e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
pkgname=python-pafy
pkgver=0.3.66
pkgrel=2

pkgdesc="Python API for YouTube"
url="http://np1.github.io/pafy"
arch=('any')
license=('GPL3')

depends=('python')
optdepends=('ffmpeg: fix issues with audio file downloads')

source=("https://github.com/np1/pafy/archive/v$pkgver.tar.gz")

sha1sums=('bdd097229443a4cec1226d5a428ac859e528be0d')

package() {
	cd pafy-$pkgver
	python setup.py install --root="$pkgdir" --optimize=1
}