updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / perl-net-ping-external / PKGBUILD
blobb013ba374c8c78f50411d72fec56afa4fc4db36c
1 # Maintainer: Alessandro Nakamuta <alessandro dot nakamuta at archlinux dot com dot br>
3 pkgname=perl-net-ping-external
4 pkgver=0.13
5 pkgrel=1
6 pkgdesc="Perl/CPAN Module Net::Ping::External"
7 arch=("i686" "x86_64")
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')
15 build() {
16         cd "$srcdir/Net-Ping-External-$pkgver"
17         
18         # install module in vendor directories.
19         PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
20         make
21         make install DESTDIR="$pkgdir/"
23         # remove perllocal.pod and .packlist
24         find "$pkgdir" -name perllocal.pod -delete
25         find "$pkgdir" -name .packlist -delete