summaryrefslogtreecommitdiff
path: root/extra/python-geoip/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/python-geoip/PKGBUILD')
-rw-r--r--extra/python-geoip/PKGBUILD19
1 files changed, 9 insertions, 10 deletions
diff --git a/extra/python-geoip/PKGBUILD b/extra/python-geoip/PKGBUILD
index 2a5fe156e..f9a76dbbb 100644
--- a/extra/python-geoip/PKGBUILD
+++ b/extra/python-geoip/PKGBUILD
@@ -1,21 +1,20 @@
-# $Id: PKGBUILD 140200 2011-10-09 08:54:48Z angvp $
+# $Id: PKGBUILD 168340 2012-10-08 23:42:19Z eric $
# Maintainer: Angel Velasquez <angvp@archlinux.org>
# Maintainer: Jan de Groot <jgc@archlinux.org>
-pkgname=python-geoip
+pkgbase=python-geoip
+pkgname=('python2-geoip')
pkgver=1.2.7
-pkgrel=1
-pkgdesc="Python bindings for the GeoIP IP-to-country resolver library."
-arch=(i686 x86_64)
+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')
md5sums=('df71f5ae7a5c77bbdf726d512b7d67cf')
-build() {
- cd ${startdir}/src/GeoIP-Python-${pkgver}
- python2 setup.py build install --root=${startdir}/pkg
+package_python2-geoip() {
+ cd "${srcdir}/GeoIP-Python-${pkgver}"
+ python2 setup.py build install --root="${pkgdir}"
}