description="Perl Module: Easy manipulation of IPv4 and IPv6 addresses"
url="https://metacpan.org/pod/Net::IP"

packager="tnut <tnut@nutyx.org>"
contributors="Pierre B"

run=( perl )

name=perl-net-ip
version=1.26
release=2

source=(http://www.cpan.org/authors/id/M/MA/MANU/Net-IP-$version.tar.gz)

build() {
cd Net-IP-$version
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
make DESTDIR=$PKG install
find $PKG -iname '*.pod' -or \
-name '.packlist' -or \
-empty -delete
}
