1 # Contributor: Mark Smith <markzzzsmith@yahoo.com.au>
2 pkgname=perl-net-iptrie
6 pkgdesc="Perl/CPAN Net::IPTrie"
8 license=('PerlArtistic')
9 url="http://search.cpan.org/dist/${_realname}/"
10 depends=('perl-netaddr-ip')
12 source=(http://search.cpan.org/CPAN/authors/id/C/CV/CVICENTE/${_realname}-v${pkgver}.tar.gz)
13 md5sums=('8fd4e5fbbf97ccef6b5ad5c719f9f151')
17 cd ${startdir}/src/${_realname}-v${pkgver}
19 PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
23 make install DESTDIR=${startdir}/pkg || return 1
25 find ${startdir}/pkg -name .packlist -delete
27 find $startdir/pkg -name '*.pod' -delete