[arch-commits] Commit in perl-net-ip/repos (staging-any staging-any/PKGBUILD)

Evangelos Foutras foutrelis at archlinux.org
Tue May 19 08:33:32 UTC 2020


    Date: Tuesday, May 19, 2020 @ 08:33:31
  Author: foutrelis
Revision: 386371

archrelease: copy trunk to staging-any

Added:
  perl-net-ip/repos/staging-any/
  perl-net-ip/repos/staging-any/PKGBUILD
    (from rev 386369, perl-net-ip/trunk/PKGBUILD)

----------+
 PKGBUILD |   31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

Copied: perl-net-ip/repos/staging-any/PKGBUILD (from rev 386369, perl-net-ip/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2020-05-19 08:33:31 UTC (rev 386371)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at gmail.com>
+# Contributor: Kevin Piche <kevin at archlinux.org>
+
+pkgname=perl-net-ip
+_realname=Net-IP
+pkgver=1.26
+pkgrel=7
+pkgdesc="Perl Module:  Easy manipulation of IPv4 and IPv6 addresses"
+arch=('any')
+license=('PerlArtistic')
+url="https://search.cpan.org/dist/Net-IP/"
+depends=('perl')
+options=(!emptydirs)
+source=("https://www.cpan.org/authors/id/M/MA/MANU/Net-IP-$pkgver.tar.gz")
+md5sums=('3a98e3ac45d69ea38a63a7e678bd716d')
+
+build() {
+  cd Net-IP-$pkgver
+  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+check() {
+  cd Net-IP-$pkgver
+  make test
+}
+
+package() {
+  cd Net-IP-$pkgver
+  make install DESTDIR="$pkgdir"
+}



More information about the arch-commits mailing list