diff options
author | oli | 2015-06-12 22:00:15 +0200 |
---|---|---|
committer | oli | 2015-06-12 22:00:15 +0200 |
commit | 9c13f8ec315a195b6bab31e3068e79c7aade0321 (patch) | |
tree | 15c01c6d89894fbe9b7a178d8031d92ea9850d2d /PKGBUILD | |
download | aur-9c13f8ec315a195b6bab31e3068e79c7aade0321.tar.gz |
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..2e17bd97b467 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,31 @@ +# Contributor: Kevin Piche <kevin@archlinux.org> +# Maintainer: Jose Riha <jose 1711 gmail com> + +pkgname=perl-net-arp +_realname=Net-ARP +pkgver=1.0.8 +pkgrel=2 +pkgdesc="Perl Module: Extension for creating ARP Packets" +arch=(i686 x86_64) +license=('PerlArtistic') +url="http://search.cpan.org/dist/${_realname}/" +depends=('perl>=5.10.0') +source=(http://cpan.metacpan.org/authors/id/C/CR/CRAZYDJ/${_realname}-${pkgver}.tgz) +sha1sums=('be5e6123d50446a43bb4e8f90c4e45049c96634f') + +build() { + cd ${srcdir}/${_realname}-${pkgver} + # install module in vendor directories. + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +package() { + cd ${srcdir}/${_realname}-${pkgver} + make install DESTDIR=${pkgdir} + + # remove perllocal.pod and .packlist + find ${pkgdir} -name perllocal.pod -delete + find ${pkgdir} -name .packlist -delete +} +# vim: ts=2 sw=2 et ft=sh |