18 lines
530 B
Bash
18 lines
530 B
Bash
# Maintainer: Cedric Girard <girard.cedric@gmail.com>
|
|
pkgname=python2-pytvmaze
|
|
_pkgname=pytvmaze
|
|
pkgver=1.5.1
|
|
pkgrel=1
|
|
pkgdesc="Python interface to the TV Maze API "
|
|
arch=(any)
|
|
url="http://pypi.python.org/pypi/pytvmaze"
|
|
license=(MIT)
|
|
depends=(python2)
|
|
makedepends=(python2-distribute)
|
|
source=("https://pypi.io/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz")
|
|
md5sums=('3a1111bff33b529f42f2fb6df5bcb39d')
|
|
|
|
package() {
|
|
cd "$srcdir/$_pkgname-$pkgver"
|
|
python2 setup.py install --root="$pkgdir/" --optimize=1
|
|
}
|