diff options
author | root <root@rshg054.dnsready.net> | 2012-10-09 00:33:26 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-10-09 00:33:26 -0700 |
commit | 965fe5dd2bc0fae6b53c10d880c15f494dd589ac (patch) | |
tree | 910883dffa913262b28fb7a0e3bc41c3325b1dd2 /extra/python-geoip/PKGBUILD | |
parent | 962d1e81a62d7259ccb686da1a44de2bb28e73a5 (diff) |
Tue Oct 9 00:33:25 PDT 2012
Diffstat (limited to 'extra/python-geoip/PKGBUILD')
-rw-r--r-- | extra/python-geoip/PKGBUILD | 19 |
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}" } |