updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / perl-net-ipaddress / PKGBUILD
blobad6c1f6cec06f4baac2220498dad1ff715a296ef
1 # Contributor: Anonymous
2 # Generator  : CPANPLUS::Dist::Arch 0.14
3 pkgname='perl-net-ipaddress'
4 pkgver='1.10'
5 pkgrel='1'
6 pkgdesc=""
7 arch=('i686' 'x86_64')
8 license=('PerlArtistic' 'GPL')
9 options=('!emptydirs')
10 depends=('perl')
11 url='http://search.cpan.org/dist/Net-IPAddress'
12 source=('http://search.cpan.org/CPAN/authors/id/S/SA/SARENNER/Net-IPAddress-1.10.tar.gz')
13 md5sums=('512117d3f6bcc027bd11f70d71f6f844')
15 build() {
16   _DISTDIR="${srcdir}/Net-IPAddress-1.10"
17   export PERL_MM_USE_DEFAULT=1
18   { cd "$_DISTDIR" &&
19     perl Makefile.PL INSTALLDIRS=vendor &&
20     make &&
21     make test &&
22     make DESTDIR="${pkgdir}/" install;
23   } || return 1;
25   find "$pkgdir" -name .packlist -delete
26   find "$pkgdir" -name perllocal.pod -delete