summaryrefslogtreecommitdiffstats
path: root/abs/extra/geoip/PKGBUILD
diff options
context:
space:
mode:
authorMichael Hanson <hansonorders@verizon.net>2011-08-05 00:25:05 (GMT)
committerMichael Hanson <hansonorders@verizon.net>2011-08-05 00:25:05 (GMT)
commitcba3949376b9d4e976a57f1e57623978cb476cfd (patch)
tree5758b1309aa8b7629a67b022759a5147b4c2f71b /abs/extra/geoip/PKGBUILD
parent6e05ce803604c61f90f13d5b1c5957aaba52ac88 (diff)
downloadlinhes_pkgbuild-cba3949376b9d4e976a57f1e57623978cb476cfd.zip
linhes_pkgbuild-cba3949376b9d4e976a57f1e57623978cb476cfd.tar.gz
linhes_pkgbuild-cba3949376b9d4e976a57f1e57623978cb476cfd.tar.bz2
geoip: Update to 1.4.7 (Note: 1.4.8 would not compile) Ref #778
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')