pkgname=python2-tmdb3 _realname=tmdb3 pkgver=0.6.17 pkgrel=1 pkgdesc="TheMovieDB.org APIv3 interface" url="https://pypi.python.org/pypi/tmdb3" arch=('any') license=('GPL2') depends=('python2') makedepends=('python2-setuptools') source=("https://pypi.python.org/packages/source/t/tmdb3/$_realname-$pkgver.zip") md5sums=('cd259427454472164c9a2479504c9cbb') package(){ cd "$_realname-$pkgver" python2 setup.py install --root="$pkgdir" --optimize=1 }