[arch-commits] Commit in perl-netaddr-ip/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Sat May 25 08:54:36 UTC 2019
Date: Saturday, May 25, 2019 @ 08:54:36
Author: felixonmars
Revision: 353974
archrelease: copy trunk to staging-x86_64
Added:
perl-netaddr-ip/repos/staging-x86_64/
perl-netaddr-ip/repos/staging-x86_64/PKGBUILD
(from rev 353973, perl-netaddr-ip/trunk/PKGBUILD)
----------+
PKGBUILD | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
Copied: perl-netaddr-ip/repos/staging-x86_64/PKGBUILD (from rev 353973, perl-netaddr-ip/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2019-05-25 08:54:36 UTC (rev 353974)
@@ -0,0 +1,29 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=perl-netaddr-ip
+pkgver=4.079
+pkgrel=7
+pkgdesc="Perl module to manage IP addresses and subnets"
+arch=('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=('990dfcbffae356835c536e8ab56a2880')
+
+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
+}
More information about the arch-commits
mailing list