desktop/python2-pycountry/PKGBUILD
2014-04-12 18:21:31 +00:00

21 lines
677 B
Bash

# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
pkgname=python2-pycountry
pkgver=1.5
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)
md5sums=('c0acbfbdad5b4d044b459ec4f7a0e8b7')
package() {
cd ${srcdir}/pycountry-${pkgver}
python2 setup.py install --root=$pkgdir/ --optimize=1
}