diff options
author | James Meyer <james.meyer@operamail.com> | 2011-08-06 01:13:55 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2011-08-06 01:13:55 (GMT) |
commit | 12d025b342ea99681a2b9d830a153ced182daca1 (patch) | |
tree | d9943ed95e570c0706c6b5021b4570894877325a /abs/extra/geoip/PKGBUILD | |
parent | bcfb3dc1bd231f91914f917149164d41a2f3ce0a (diff) | |
parent | 9cc464bde03a97d6cbea14420b1b2ee32ca3ca00 (diff) | |
download | linhes_pkgbuild-12d025b342ea99681a2b9d830a153ced182daca1.zip linhes_pkgbuild-12d025b342ea99681a2b9d830a153ced182daca1.tar.gz linhes_pkgbuild-12d025b342ea99681a2b9d830a153ced182daca1.tar.bz2 |
Merge branch 'testing' of ssh://jams@linhes.org/mount/repository/linhes_pkgbuild into testing
Diffstat (limited to 'abs/extra/geoip/PKGBUILD')
-rw-r--r-- | abs/extra/geoip/PKGBUILD | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/abs/extra/geoip/PKGBUILD b/abs/extra/geoip/PKGBUILD index 9ae74ba..936aa57 100644 --- a/abs/extra/geoip/PKGBUILD +++ b/abs/extra/geoip/PKGBUILD @@ -3,7 +3,7 @@ # Contributor: Manolis Tzanidakis <manolis@archlinux.org> pkgname=geoip -pkgver=1.4.6 +pkgver=1.4.7 pkgrel=1 pkgdesc="Non-DNS IP-to-country resolver C library & utils" arch=(i686 x86_64) @@ -13,13 +13,22 @@ depends=('zlib') backup=(etc/geoip/GeoIP.conf) options=('!libtool') source=(http://www.maxmind.com/download/geoip/api/c/GeoIP-${pkgver}.tar.gz) -md5sums=('cb14b1beeb40631a12676b11ca0c309a') build() { - cd ${startdir}/src/GeoIP-${pkgver} + cd ${srcdir}/GeoIP-${pkgver} ./configure --prefix=/usr --mandir=/usr/share/man --sysconfdir=/etc/geoip make || return 1 +} + +check() { + + cd ${srcdir}/GeoIP-${pkgver} make check || return 1 - make DESTDIR=${startdir}/pkg install + } +package() { + cd ${srcdir}/GeoIP-${pkgver} + make DESTDIR=${startdir}/pkg install +} +md5sums=('a802175d5b7e2b57b540a7dd308d9205') |