summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2011-08-05 00:31:10 (GMT)
committerBritney Fransen <brfransen@gmail.com>2011-08-05 00:31:10 (GMT)
commite5564146f3fb0615f0ca00deeb20ff69f4d016fa (patch)
tree7d3deec45693fd948b70384f60121d0fe3d11685
parent9ab2d21e911b81ae3d223e8c04b026c99989f70c (diff)
parentdb7680fe145f7090334baa31ff8145278a255507 (diff)
downloadlinhes_pkgbuild-e5564146f3fb0615f0ca00deeb20ff69f4d016fa.zip
linhes_pkgbuild-e5564146f3fb0615f0ca00deeb20ff69f4d016fa.tar.gz
linhes_pkgbuild-e5564146f3fb0615f0ca00deeb20ff69f4d016fa.tar.bz2
Merge branch 'testing' of knoppmyth.net:linhes_pkgbuild into testing
-rw-r--r--abs/core/python_modules/python-geoip/PKGBUILD4
-rw-r--r--abs/extra/geoip/PKGBUILD17
2 files changed, 15 insertions, 6 deletions
diff --git a/abs/core/python_modules/python-geoip/PKGBUILD b/abs/core/python_modules/python-geoip/PKGBUILD
index 7d69154..cd095c6 100644
--- a/abs/core/python_modules/python-geoip/PKGBUILD
+++ b/abs/core/python_modules/python-geoip/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=python-geoip
pkgver=1.2.4
-pkgrel=3
+pkgrel=4
pkgdesc="Python bindings for the GeoIP IP-to-country resolver library."
arch=(i686 x86_64)
url="http://www.maxmind.com/app/python"
@@ -15,7 +15,7 @@ provides=('geoip-python')
build() {
cd ${startdir}/src/GeoIP-Python-${pkgver}
- python2 setup.py build install --root=${startdir}/pkg
+ python2 setup.py build install --root=${pkgdir}/
}
md5sums=('50f820d854476efaf3b7af733ffe4236')
diff --git a/abs/extra/geoip/PKGBUILD b/abs/extra/geoip/PKGBUILD
index 9ae74ba..936aa57 100644
--- a/abs/extra/geoip/PKGBUILD
+++ b/abs/extra/geoip/PKGBUILD
@@ -3,7 +3,7 @@
# Contributor: Manolis Tzanidakis <manolis@archlinux.org>
pkgname=geoip
-pkgver=1.4.6
+pkgver=1.4.7
pkgrel=1
pkgdesc="Non-DNS IP-to-country resolver C library & utils"
arch=(i686 x86_64)
@@ -13,13 +13,22 @@ depends=('zlib')
backup=(etc/geoip/GeoIP.conf)
options=('!libtool')
source=(http://www.maxmind.com/download/geoip/api/c/GeoIP-${pkgver}.tar.gz)
-md5sums=('cb14b1beeb40631a12676b11ca0c309a')
build() {
- cd ${startdir}/src/GeoIP-${pkgver}
+ cd ${srcdir}/GeoIP-${pkgver}
./configure --prefix=/usr --mandir=/usr/share/man --sysconfdir=/etc/geoip
make || return 1
+}
+
+check() {
+
+ cd ${srcdir}/GeoIP-${pkgver}
make check || return 1
- make DESTDIR=${startdir}/pkg install
+
}
+package() {
+ cd ${srcdir}/GeoIP-${pkgver}
+ make DESTDIR=${startdir}/pkg install
+}
+md5sums=('a802175d5b7e2b57b540a7dd308d9205')