diff options
Diffstat (limited to 'extra/python-geoip/PKGBUILD')
-rw-r--r-- | extra/python-geoip/PKGBUILD | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/extra/python-geoip/PKGBUILD b/extra/python-geoip/PKGBUILD new file mode 100644 index 000000000..0e535d169 --- /dev/null +++ b/extra/python-geoip/PKGBUILD @@ -0,0 +1,20 @@ +# $Id: PKGBUILD 89623 2010-09-02 16:32:29Z remy $ +# Maintainer: Jan de Groot <jgc@archlinux.org> + +pkgname=python-geoip +pkgver=1.2.4 +pkgrel=2 +pkgdesc="Python bindings for the GeoIP IP-to-country resolver library." +arch=(i686 x86_64) +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) +replaces=('geoip-python') +provides=('geoip-python') + +build() { + cd ${startdir}/src/GeoIP-Python-${pkgver} + python2 setup.py build install --root=${startdir}/pkg +} +md5sums=('50f820d854476efaf3b7af733ffe4236') |