1 # Contributor: Alexander Krylov <kass@tpi.ru>
3 pkgname=perl-net-netmask
6 pkgdesc="Parse, manipulate and lookup IP network blocks."
8 url="http://search.cpan.org/~muir/Net-Netmask"
9 license=('GPL' 'PerlArtistic')
11 options=('!emptydirs')
12 source=(http://search.cpan.org/CPAN/authors/id/M/MU/MUIR/modules/Net-Netmask-$pkgver.tar.gz)
13 md5sums=('90298105cd17a5c2a4059297e09f1546')
16 cd $startdir/src/Net-Netmask-$pkgver
17 PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
19 make pure_install doc_install DESTDIR=$startdir/pkg || return 1
20 find $startdir/pkg -name '.packlist' -delete
21 find $startdir/pkg -name '*.pod' -delete