summaryrefslogtreecommitdiff
path: root/extra/geoip/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-09-04 23:14:34 +0000
committerroot <root@rshg054.dnsready.net>2011-09-04 23:14:34 +0000
commit6dee0a203a8290427ca77705bc1cae90381529b2 (patch)
treeeef4e102b2f44b6b52f0edc70b9dae278b80821c /extra/geoip/PKGBUILD
parent3b18be1752c9fd9fa74eb1314ca97dd61e9ce912 (diff)
Sun Sep 4 23:14:34 UTC 2011
Diffstat (limited to 'extra/geoip/PKGBUILD')
-rw-r--r--extra/geoip/PKGBUILD31
1 files changed, 21 insertions, 10 deletions
diff --git a/extra/geoip/PKGBUILD b/extra/geoip/PKGBUILD
index bfbeec073..d969c256c 100644
--- a/extra/geoip/PKGBUILD
+++ b/extra/geoip/PKGBUILD
@@ -1,25 +1,36 @@
-# $Id: PKGBUILD 123437 2011-05-11 11:45:24Z juergen $
+# $Id: PKGBUILD 136949 2011-09-03 12:23:55Z foutrelis $
# Maintainer: Dan McGee <dan@archlinux.org>
# Contributor: Manolis Tzanidakis <manolis@archlinux.org>
pkgname=geoip
-pkgver=1.4.7
+pkgver=1.4.8
pkgrel=1
pkgdesc="Non-DNS IP-to-country resolver C library & utils"
-arch=(i686 x86_64)
-license=('GPL')
+arch=('i686' 'x86_64')
url="http://www.maxmind.com/app/c"
+license=('GPL')
depends=('zlib')
-backup=(etc/geoip/GeoIP.conf)
+backup=('etc/geoip/GeoIP.conf')
options=('!libtool')
source=(http://www.maxmind.com/download/geoip/api/c/GeoIP-${pkgver}.tar.gz)
-md5sums=('a802175d5b7e2b57b540a7dd308d9205')
+md5sums=('05b7300435336231b556df5ab36f326d')
build() {
- cd ${startdir}/src/GeoIP-${pkgver}
+ cd "${srcdir}/GeoIP-${pkgver}"
+
+ autoreconf -i
./configure --prefix=/usr --mandir=/usr/share/man --sysconfdir=/etc/geoip
- make || return 1
- make check || return 1
- make DESTDIR=${startdir}/pkg install
+ make
+}
+
+check() {
+ cd "${srcdir}/GeoIP-${pkgver}"
+ make check
+}
+
+package() {
+ cd "${srcdir}/GeoIP-${pkgver}"
+ make DESTDIR="${pkgdir}" install
}
+# vim:set ts=2 sw=2 et: