# $Id: PKGBUILD 168340 2012-10-08 23:42:19Z eric $ # Maintainer: Angel Velasquez # Maintainer: Jan de Groot pkgbase=python-geoip pkgname=('python2-geoip') pkgver=1.2.7 pkgrel=2 pkgdesc="Python bindings for the GeoIP IP-to-country resolver library" arch=('i686' 'x86_64' 'mips64el') url="http://www.maxmind.com/app/python" license=('LGPL') depends=('python2' 'geoip') source=(http://www.maxmind.com/download/geoip/api/python/GeoIP-Python-${pkgver}.tar.gz) md5sums=('df71f5ae7a5c77bbdf726d512b7d67cf') package_python2-geoip() { cd "${srcdir}/GeoIP-Python-${pkgver}" python2 setup.py build install --root="${pkgdir}" }