1 # Contributor: Pizon <pizon@pizon.org>
3 pkgname=perl-geo-ipfree
6 pkgdesc="Look up country of IP Address. This module make this off-line and the DB of IPs is free & small."
8 url="http://search.cpan.org/~bricas/Geo-IPfree"
9 license=('GPL' 'PerlArtistic')
10 options=('!emptydirs')
11 source=(http://search.cpan.org/CPAN/authors/id/B/BR/BRICAS/Geo-IPfree-$pkgver.tar.gz)
12 md5sums=('dcc4ca029b6ab09c938747ecdef60593')
15 cd $startdir/src/Geo-IPfree-$pkgver
16 PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
18 make install DESTDIR=$startdir/pkg || return 1
19 find $startdir/pkg -name '.packlist' -delete
20 find $startdir/pkg -name '*.pod' -delete