1 # Maintainer: Juergen Hoetzel <juergen@archlinux.org>
2 # Contributor: Manolis Tzanidakis <manolis@archlinux.org>
7 pkgdesc="Non-DNS IP-to-country resolver C library & utils"
9 url="https://www.maxmind.com/app/c"
11 depends=('zlib' 'geoip-database')
12 optdepends=('geoip-database-extra: city/ASN databases (not needed for country lookups)')
13 makedepends=('autoconf' 'libtool')
14 options=('!emptydirs')
15 source=($pkgname-$pkgver.tar.gz::https://github.com/maxmind/${pkgname}-api-c/archive/v${pkgver}.tar.gz)
16 sha256sums=('99b119f8e21e94f1dfd6d49fbeed29a70df1544896e76cd456f25e397b07d476')
19 cd geoip-api-c-$pkgver
24 cd geoip-api-c-$pkgver
28 --mandir=/usr/share/man \
29 --sysconfdir=/etc/geoip
34 cd geoip-api-c-$pkgver
35 make DESTDIR="$pkgdir" install
38 # vim:set ts=2 sw=2 et: