updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / perl-net-iptrie / PKGBUILD
blob0bf3f008b30a748d0bf82173105602577cdc2b6a
1 # Contributor: Mark Smith <markzzzsmith@yahoo.com.au>
2 pkgname=perl-net-iptrie
3 _realname=Net-IPTrie
4 pkgver=0.3
5 pkgrel=2
6 pkgdesc="Perl/CPAN Net::IPTrie"
7 arch=(i686 x86_64)
8 license=('PerlArtistic')
9 url="http://search.cpan.org/dist/${_realname}/"
10 depends=('perl-netaddr-ip')
11 options=(!emptydirs)
12 source=(http://search.cpan.org/CPAN/authors/id/C/CV/CVICENTE/${_realname}-v${pkgver}.tar.gz)
13 md5sums=('8fd4e5fbbf97ccef6b5ad5c719f9f151')
15 build() {
17         cd ${startdir}/src/${_realname}-v${pkgver}
19         PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
21         make || return 1
23         make install DESTDIR=${startdir}/pkg || return 1
25         find ${startdir}/pkg -name .packlist -delete
27         find $startdir/pkg -name '*.pod' -delete