pkgname=python2-pycountry pkgver=1.19 pkgrel=1 pkgdesc="ISO country, subdivision, language, currency and script definitions and their translations" arch=('x86_64') url="http://pypi.python.org/pypi/pycountry" license=('LGPL2') provides=('python-pycountry') replaces=('python-pycountry') conflicts=('python-pycountry') depends=('python2-lxml' 'python2-setuptools') source=(http://pypi.python.org/packages/source/p/pycountry/pycountry-$pkgver.tar.gz) sha512sums=('850d32504c984d1e2959a909fc367da402b1d1adf4f19914fbbf61784fe30487c5ea92e5579ecfd80bff040cffabc9335d55589df32f54af0de032e042a49c77') package() { cd ${srcdir}/pycountry-${pkgver} python2 setup.py install --root=$pkgdir/ --optimize=1 }