desktop/python2-pycountry/PKGBUILD
2015-06-24 17:20:29 +00:00

19 lines
698 B
Bash

pkgname=python2-pycountry
pkgver=1.12
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=('6a9bfb47ce56098bc8f536afc5e671cd65304213df1e3c9754bcaac8e3cdb8293c75ec59649be5df8b974f36be333ed35fe4cd4d274baa183cfd6455d9241702')
package() {
cd ${srcdir}/pycountry-${pkgver}
python2 setup.py install --root=$pkgdir/ --optimize=1
}