desktop/python2-pycountry/PKGBUILD
2015-08-20 15:09:25 +02:00

19 lines
698 B
Bash

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