blob: 2643b4a3e58edd8dcb8c77189424e12aa59c31eb (
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
|
pkgname=python-pafy-git
pkgver=0.5.5.r17.g0580c72
pkgrel=2
pkgdesc="Python API for YouTube - Download videos and retrieve metadata from YouTube."
url="https://github.com/mps-youtube/pafy"
arch=('any')
license=('LGPL3')
depends=('python' 'youtube-dl')
makedepends=('git' 'python-setuptools')
provides=('python-pafy')
conflicts=('python-pafy')
source=('git+https://github.com/mps-youtube/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
}
|