[arch-commits] Commit in perl-netaddr-ip/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Mon May 24 08:32:03 UTC 2021
Date: Monday, May 24, 2021 @ 08:32:02
Author: felixonmars
Revision: 415957
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 415954, perl-netaddr-ip/trunk/PKGBUILD)
----------+
PKGBUILD | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
Copied: perl-netaddr-ip/repos/staging-x86_64/PKGBUILD (from rev 415954, perl-netaddr-ip/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2021-05-24 08:32:02 UTC (rev 415957)
@@ -0,0 +1,29 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=perl-netaddr-ip
+pkgver=4.079
+pkgrel=11
+pkgdesc="Perl module to manage IP addresses and subnets"
+arch=('x86_64')
+url="https://search.cpan.org/dist/NetAddr-IP/"
+license=('PerlArtistic' 'GPL')
+depends=('perl')
+options=('!emptydirs')
+source=(https://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