updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / perl-geo-ipfree / PKGBUILD
blob8318f763dce1d376ca296872da7a09ef06089839
1 # Contributor: Pizon <pizon@pizon.org>
3 pkgname=perl-geo-ipfree
4 pkgver=1.110450
5 pkgrel=1
6 pkgdesc="Look up country of IP Address. This module make this off-line and the DB of IPs is free & small."
7 arch=('i686' 'x86_64')
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')
14 build() {
15   cd  $startdir/src/Geo-IPfree-$pkgver
16   PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 
17   make || return 1
18   make install DESTDIR=$startdir/pkg || return 1
19   find $startdir/pkg -name '.packlist' -delete
20   find $startdir/pkg -name '*.pod' -delete