diff options
author | Michael Hanson <mihanson@linhes.org> | 2011-10-08 00:48:25 (GMT) |
---|---|---|
committer | Michael Hanson <mihanson@linhes.org> | 2011-10-08 00:48:25 (GMT) |
commit | ee019be570e80f20f106a6b0b739be427c5f89bc (patch) | |
tree | 47c56548770be52fc9a600f28eb4935844820f5b /abs/extra/geoip | |
parent | f37574bd879953f9c2c1ee1dc97577d804759895 (diff) | |
parent | 04949a18e6ea4a313d101911dcdc689d029ddcb1 (diff) | |
download | linhes_pkgbuild-ee019be570e80f20f106a6b0b739be427c5f89bc.zip linhes_pkgbuild-ee019be570e80f20f106a6b0b739be427c5f89bc.tar.gz linhes_pkgbuild-ee019be570e80f20f106a6b0b739be427c5f89bc.tar.bz2 |
Merge branch 'testing' of knoppmyth.net:linhes_pkgbuild into testing
Diffstat (limited to 'abs/extra/geoip')
-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: |