diff options
Diffstat (limited to 'abs/extra/geoip/PKGBUILD')
-rw-r--r-- | abs/extra/geoip/PKGBUILD | 30 |
1 files changed, 16 insertions, 14 deletions
diff --git a/abs/extra/geoip/PKGBUILD b/abs/extra/geoip/PKGBUILD index 936aa57..32c5927 100644 --- a/abs/extra/geoip/PKGBUILD +++ b/abs/extra/geoip/PKGBUILD @@ -1,34 +1,36 @@ -# $Id: PKGBUILD 40078 2009-05-27 06:04:17Z juergen $ +# $Id$ # 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=('05b7300435336231b556df5ab36f326d') build() { - cd ${srcdir}/GeoIP-${pkgver} + cd "${srcdir}/GeoIP-${pkgver}" + + autoreconf -i ./configure --prefix=/usr --mandir=/usr/share/man --sysconfdir=/etc/geoip - make || return 1 + make } check() { - - cd ${srcdir}/GeoIP-${pkgver} - make check || return 1 - + cd "${srcdir}/GeoIP-${pkgver}" + make check } package() { - cd ${srcdir}/GeoIP-${pkgver} - make DESTDIR=${startdir}/pkg install + cd "${srcdir}/GeoIP-${pkgver}" + make DESTDIR="${pkgdir}" install } -md5sums=('a802175d5b7e2b57b540a7dd308d9205') + +# vim:set ts=2 sw=2 et: |