blob: 4251355eb58cf6818b6efa71643c1ef033e6d575 (
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
|
pkgname=python-pafy-git
pkgver=0.3.56.r0.g1589271
pkgrel=1
pkgdesc="Python API for YouTube - Download videos and retrieve metadata from YouTube."
url="http://np1.github.io/pafy"
arch=('any')
license=('GPL3')
depends=('python')
provides=('python-pafy')
conflicts=('python-pafy')
source=('git+https://github.com/np1/pafy.git')
md5sums=('SKIP')
pkgver() {
cd pafy
git describe --long --tags | sed -r 's/^v//;s/([^-]*-g)/r\1/;s/-/./g'
}
package() {
cd pafy
python setup.py install --root="$pkgdir" --optimize=1
}
|