diff options
Diffstat (limited to 'extra/geoip/PKGBUILD')
-rw-r--r-- | extra/geoip/PKGBUILD | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/extra/geoip/PKGBUILD b/extra/geoip/PKGBUILD index e409fb486..bfef8fbc1 100644 --- a/extra/geoip/PKGBUILD +++ b/extra/geoip/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 183169 2013-04-18 10:54:20Z juergen $ +# $Id: PKGBUILD 194736 2013-09-23 12:28:32Z jgc $ # Maintainer: Dan McGee <dan@archlinux.org> # Contributor: Manolis Tzanidakis <manolis@archlinux.org> pkgname=geoip -pkgver=1.5.0 +pkgver=1.5.1 pkgrel=1 pkgdesc="Non-DNS IP-to-country resolver C library & utils" arch=('i686' 'x86_64') @@ -12,11 +12,18 @@ license=('GPL') depends=('zlib' 'geoip-database') backup=('etc/geoip/GeoIP.conf') options=('!libtool' '!emptydirs') -source=(http://www.maxmind.com/download/geoip/api/c/GeoIP-$pkgver.tar.gz) -sha256sums=('d1dbd4f27bcf0e760329f0f9c67a5fc81b4c56efbe0666159934c2bcd38caea2') +source=(http://www.maxmind.com/download/geoip/api/c/GeoIP-$pkgver.tar.gz + pkgconfig.patch) +sha256sums=('ec35ee73fcc54c493f4252565d1c81d022b398dd16de3af1522c8cab016f8731' + '64a6a608beabdc553019237d7da808dc234f760c21040036b2f589eaebba5d10') + +prepare() { + cd GeoIP-$pkgver + patch -Np1 -i ../pkgconfig.patch +} build() { - cd "$srcdir/GeoIP-$pkgver" + cd GeoIP-$pkgver autoreconf -vi ./configure \ @@ -27,12 +34,12 @@ build() { } check() { - cd "$srcdir/GeoIP-$pkgver" + cd GeoIP-$pkgver make check } package() { - cd "$srcdir/GeoIP-$pkgver" + cd GeoIP-$pkgver make DESTDIR="$pkgdir" install |