# $Id: PKGBUILD 96102 2013-08-20 06:32:38Z lcarlier $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor:  Pawel "kTT" Salata <rockplayer.pl@gmail.com>

pkgname=python2-pycountry
pkgver=0.17
pkgrel=2
pkgdesc="ISO country, subdivision, language, currency and script definitions and their translations"
arch=('any')
url="http://pypi.python.org/pypi/pycountry"
license=('LGPL2.1')
depends=('python2-lxml')
makedepends=('python2-setuptools')
source=("http://pypi.python.org/packages/source/p/pycountry/pycountry-$pkgver.zip")
md5sums=('194f8db4e31543c0b3b2efd3ff5c5396')

package() {
  cd "${srcdir}/pycountry-${pkgver}"

  python2 setup.py install --root="$pkgdir/" --optimize=1
}
