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

Evangelos Foutras foutrelis at archlinux.org
Sat May 25 09:14:30 UTC 2019


    Date: Saturday, May 25, 2019 @ 09:14:29
  Author: foutrelis
Revision: 354032

archrelease: copy trunk to staging-any

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

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

Copied: perl-net-ip/repos/staging-any/PKGBUILD (from rev 354031, perl-net-ip/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2019-05-25 09:14:29 UTC (rev 354032)
@@ -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=6
+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