diff options
author | Britney Fransen <brfransen@gmail.com> | 2011-09-18 19:14:25 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2011-09-18 19:14:25 (GMT) |
commit | 1e5c50094bd2895bb9aca51e45f8f1171166c9ce (patch) | |
tree | a6a9822fa51eb8c6ef6cd459035eabf9c9235d25 /abs/extra | |
parent | 0ee2824a5f1c1cfe961310f5cd645716bbb43861 (diff) | |
download | linhes_pkgbuild-1e5c50094bd2895bb9aca51e45f8f1171166c9ce.zip linhes_pkgbuild-1e5c50094bd2895bb9aca51e45f8f1171166c9ce.tar.gz linhes_pkgbuild-1e5c50094bd2895bb9aca51e45f8f1171166c9ce.tar.bz2 |
geoip: Bump to latest. Ref #778
Diffstat (limited to 'abs/extra')
-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: |