blob: 63bdc8714f06f19bee7fe581fcc8720e4bbbf518 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Contributor: Kevin Piche <kevin@archlinux.org>
# Maintainer: Jose Riha <jose 1711 gmail com>
pkgname=perl-net-arp
_realname=Net-ARP
pkgver=1.0.12
pkgrel=1
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=(https://cpan.metacpan.org/authors/id/C/CR/CRAZYDJ/${_realname}-${pkgver}.tar.gz)
sha1sums=('1ff559551b03a14b60ec32fd9a5ab980a07d9184')
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
|