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

Evangelos Foutras foutrelis at archlinux.org
Sat May 25 08:54:19 UTC 2019


    Date: Saturday, May 25, 2019 @ 08:54:19
  Author: foutrelis
Revision: 353972

archrelease: copy trunk to staging-any

Added:
  perl-net-cidr-lite/repos/staging-any/
  perl-net-cidr-lite/repos/staging-any/PKGBUILD
    (from rev 353971, perl-net-cidr-lite/trunk/PKGBUILD)

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

Copied: perl-net-cidr-lite/repos/staging-any/PKGBUILD (from rev 353971, perl-net-cidr-lite/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2019-05-25 08:54:19 UTC (rev 353972)
@@ -0,0 +1,27 @@
+# Maintainer: Felix Yan <felixonmars at gmail.com>
+# Contributor: Dale Blount <dale at archlinux.org>
+
+pkgname=perl-net-cidr-lite
+_realname=Net-CIDR-Lite
+pkgver=0.21
+pkgrel=7
+pkgdesc="Perl extension for merging IPv4 or IPv6 CIDR addresses"
+arch=('any')
+license=('PerlArtistic')
+url="http://search.cpan.org/dist/${_realname}/"
+depends=('perl>=5.10.0')
+options=(!emptydirs)
+source=(http://search.cpan.org/CPAN/authors/id/D/DO/DOUGW/${_realname}-${pkgver}.tar.gz)
+md5sums=('12280b3754886b876918f03f53aee4f5')
+
+build() {
+  cd ${srcdir}/${_realname}-${pkgver}
+  # install module in vendor directories.
+  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+package() {
+  cd ${srcdir}/${_realname}-${pkgver}
+  make install DESTDIR=${pkgdir}
+}


More information about the arch-commits mailing list