1 # Maintainer: Alessandro Nakamuta <alessandro dot nakamuta at archlinux dot com dot br>
3 pkgname=perl-net-ping-external
6 pkgdesc="Perl/CPAN Module Net::Ping::External"
8 url="http://search.cpan.org/dist/Net-Ping-External"
9 license=("GPL" "PerlArtistic")
10 options=('!emptydirs')
11 source=("http://cpan.org/CPAN/authors/id/C/CH/CHORNY/Net-Ping-External-$pkgver.zip")
12 depends=('perl' 'iputils')
13 md5sums=('83710568eb209598a04674b18986b049')
16 cd "$srcdir/Net-Ping-External-$pkgver"
18 # install module in vendor directories.
19 PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
21 make install DESTDIR="$pkgdir/"
23 # remove perllocal.pod and .packlist
24 find "$pkgdir" -name perllocal.pod -delete
25 find "$pkgdir" -name .packlist -delete