From 415856bdd4f48ab4f2732996f0bae58595092bbe Mon Sep 17 00:00:00 2001 From: Parabola Date: Tue, 5 Apr 2011 14:26:38 +0000 Subject: Tue Apr 5 14:26:38 UTC 2011 --- extra/python-geoip/PKGBUILD | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 extra/python-geoip/PKGBUILD (limited to 'extra/python-geoip/PKGBUILD') 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 + +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') -- cgit v1.2.3-54-g00ecf