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

Evangelos Foutras foutrelis at archlinux.org
Wed Aug 1 09:08:15 UTC 2018


    Date: Wednesday, August 1, 2018 @ 09:08:14
  Author: foutrelis
Revision: 329977

archrelease: copy trunk to staging-any

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

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

Copied: perl-net-ip/repos/staging-any/PKGBUILD (from rev 329976, perl-net-ip/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2018-08-01 09:08:14 UTC (rev 329977)
@@ -0,0 +1,33 @@
+# $Id$
+# 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=5
+pkgdesc="Perl Module:  Easy manipulation of IPv4 and IPv6 addresses"
+arch=('any')
+license=('PerlArtistic')
+url="http://search.cpan.org/dist/${_realname}/"
+depends=('perl')
+options=(!emptydirs)
+source=(http://www.cpan.org/authors/id/M/MA/MANU/${_realname}-${pkgver}.tar.gz)
+md5sums=('3a98e3ac45d69ea38a63a7e678bd716d')
+
+build() {
+  cd "${srcdir}/${_realname}-${pkgver}"
+  # install module in vendor directories.
+  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+check() {
+  cd "${srcdir}/${_realname}-${pkgver}"
+  make test
+}
+
+package() {
+  cd "${srcdir}/${_realname}-${pkgver}"
+  make install DESTDIR="${pkgdir}"
+}



More information about the arch-commits mailing list