desktop/python2-pycountry/PKGBUILD

19 lines
698 B
Bash
Raw Normal View History

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