blob: 0e149c3ee61f421e8c11aacfd9e1044bcd081916 (
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
32
|
# $Id: PKGBUILD 192117 2013-08-06 02:08:02Z eric $
# Maintainer:
# Contributor: Dale Blount <dale@archlinux.org>
# Contributor: Francois Charette <francois.archlinux.org>
pkgname=perl-netaddr-ip
pkgver=4.069
pkgrel=1
pkgdesc="Perl module to manage IP addresses and subnets"
arch=('i686' 'x86_64')
url="http://search.cpan.org/dist/NetAddr-IP/"
license=('PerlArtistic' 'GPL')
depends=('perl')
options=('!emptydirs')
source=(http://search.cpan.org/CPAN/authors/id/M/MI/MIKER/NetAddr-IP-${pkgver}.tar.gz)
md5sums=('7721135fcea390327f75421a6b701144')
build() {
cd NetAddr-IP-${pkgver}
perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
cd NetAddr-IP-${pkgver}
make test
}
package() {
cd NetAddr-IP-${pkgver}
make DESTDIR="${pkgdir}" install
}
|