#!/bin/mkpkg # description: Non-DNS IP-to-country resolver C library and utilities # url: https://github.com/maxmind/geoip-api-c name=geoip version=1.6.12 release=1 makedeps=(libtool autoconf automake) source=(https://github.com/maxmind/geoip-api-c/releases/download/v$version/GeoIP-$version.tar.gz geoip_update.sh) sha256sums=( "1dfb748003c5e4b7fd56ba8c4cd786633d5d6f409547584f6910398389636f80" "a814a6fc80144bb3850a02949e7e7311dd7d59d30b8da22f289d86b0ac4f18d6" ) build() { cd $SRC/GeoIP-$version ./configure \ --prefix=/usr \ --mandir=/usr/share/man \ --sysconfdir=/etc make make DESTDIR=$PKG install install -d $PKG/usr/share/GeoIP install -m 755 $SRC/geoip_update.sh $PKG/usr/bin/geoip_update } signify() { untrusted comment: public key RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3 } #vim: filetype=sh