summaryrefslogtreecommitdiffstats
path: root/abs/extra/geoip/PKGBUILD
diff options
context:
space:
mode:
authorCecil <knoppmyth@gmail.com>2011-08-06 19:10:30 (GMT)
committerCecil <knoppmyth@gmail.com>2011-08-06 19:10:30 (GMT)
commitad58e3033f6bb5137b8dcb0e7eca12d50d888402 (patch)
tree9321335a68173bc3e4c1d237c19c8880411fa676 /abs/extra/geoip/PKGBUILD
parent998faf16b1b62493b39aa13b3cb53dfac266ef4c (diff)
parent9709ca528ca5dfbdb6ec6ea283ac6670e8f33b9d (diff)
downloadlinhes_pkgbuild-ad58e3033f6bb5137b8dcb0e7eca12d50d888402.zip
linhes_pkgbuild-ad58e3033f6bb5137b8dcb0e7eca12d50d888402.tar.gz
linhes_pkgbuild-ad58e3033f6bb5137b8dcb0e7eca12d50d888402.tar.bz2
Merge branch 'testing' of ssh://cesman@linhes.org/mount/repository/linhes_pkgbuild into testing
Conflicts: abs/core/tzdata/PKGBUILD
Diffstat (limited to 'abs/extra/geoip/PKGBUILD')
-rw-r--r--abs/extra/geoip/PKGBUILD17
1 files changed, 13 insertions, 4 deletions
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')