summaryrefslogtreecommitdiff
path: root/extra/perl-netaddr-ip
diff options
context:
space:
mode:
Diffstat (limited to 'extra/perl-netaddr-ip')
-rw-r--r--extra/perl-netaddr-ip/PKGBUILD22
1 files changed, 10 insertions, 12 deletions
diff --git a/extra/perl-netaddr-ip/PKGBUILD b/extra/perl-netaddr-ip/PKGBUILD
index ae11dd646..0e149c3ee 100644
--- a/extra/perl-netaddr-ip/PKGBUILD
+++ b/extra/perl-netaddr-ip/PKGBUILD
@@ -1,34 +1,32 @@
-# $Id: PKGBUILD 186411 2013-05-26 09:25:25Z bluewind $
+# $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
-_realname=NetAddr-IP
-pkgver=4.066
-pkgrel=2
+pkgver=4.069
+pkgrel=1
pkgdesc="Perl module to manage IP addresses and subnets"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64')
+url="http://search.cpan.org/dist/NetAddr-IP/"
license=('PerlArtistic' 'GPL')
depends=('perl')
options=('!emptydirs')
-url="http://search.cpan.org/dist/${_realname}/"
-source=(http://search.cpan.org/CPAN/authors/id/M/MI/MIKER/${_realname}-${pkgver}.tar.gz)
-md5sums=('7c6cf77d3c02fa0baf77b6a97f2a670a')
+source=(http://search.cpan.org/CPAN/authors/id/M/MI/MIKER/NetAddr-IP-${pkgver}.tar.gz)
+md5sums=('7721135fcea390327f75421a6b701144')
build() {
- cd "${srcdir}/${_realname}-${pkgver}"
- # install module in vendor directories.
+ cd NetAddr-IP-${pkgver}
perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
- cd "${srcdir}/${_realname}-${pkgver}"
+ cd NetAddr-IP-${pkgver}
make test
}
package() {
- cd "${srcdir}/${_realname}-${pkgver}"
+ cd NetAddr-IP-${pkgver}
make DESTDIR="${pkgdir}" install
}