summaryrefslogtreecommitdiff
path: root/extra/python-geoip/PKGBUILD
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@kiwwwi.com.ar>2012-10-09 10:49:34 -0300
committerNicolás Reynolds <fauno@kiwwwi.com.ar>2012-10-09 10:49:34 -0300
commitd53c17bfc7766efa4bcb43eecc2906938d3d2ee9 (patch)
tree8f29b8f00ba7758d04e66c3b3ab2bbe71363bceb /extra/python-geoip/PKGBUILD
parent23c40f4e35b9164f83c5bcf376056bca0546f69e (diff)
parent26bcb2409416374f6728bd9b863e4fd147adccb3 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community-testing/freewrl/PKGBUILD community-testing/gambas2/PKGBUILD community-testing/gambas3/PKGBUILD community-testing/gnash/PKGBUILD community-testing/gource/PKGBUILD community-testing/gpac/PKGBUILD community-testing/rss-glx/PKGBUILD community-testing/smc/PKGBUILD community/blobby2/PKGBUILD community/jack2/PKGBUILD community/kleansweep/PKGBUILD core/gcc/PKGBUILD extra/at/PKGBUILD extra/maxima/PKGBUILD extra/nicotine/PKGBUILD extra/python-geoip/PKGBUILD extra/sqlite/PKGBUILD gnome-unstable/gnome-control-center/PKGBUILD gnome-unstable/gnome-settings-daemon/PKGBUILD gnome-unstable/gst-plugins-base/PKGBUILD gnome-unstable/gstreamer/PKGBUILD multilib-testing/gcc-multilib/PKGBUILD multilib-testing/libtool-multilib/PKGBUILD multilib/jack2-multilib/PKGBUILD staging/mesa/PKGBUILD testing/bzflag/PKGBUILD testing/cabal-install/PKGBUILD testing/cairo/PKGBUILD testing/gcc/PKGBUILD testing/glew/PKGBUILD testing/kdebase-workspace/PKGBUILD testing/libreoffice/PKGBUILD testing/libtool/PKGBUILD testing/mesa/PKGBUILD testing/nx/PKGBUILD testing/xf86-video-ati/PKGBUILD testing/xf86-video-intel/PKGBUILD testing/xf86-video-intel/xf86-video-intel.install testing/xf86-video-nouveau/PKGBUILD testing/xine-lib/PKGBUILD testing/xorg-server/PKGBUILD
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 b43e0d82b..a0d9d737b 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 'mips64el')
+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)
-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}"
}