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

Felix Yan felixonmars at archlinux.org
Mon May 24 08:37:06 UTC 2021


    Date: Monday, May 24, 2021 @ 08:37:05
  Author: felixonmars
Revision: 416030

archrelease: copy trunk to staging-any

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

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

Copied: perl-net-cidr-lite/repos/staging-any/PKGBUILD (from rev 416029, perl-net-cidr-lite/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2021-05-24 08:37:05 UTC (rev 416030)
@@ -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.22
+pkgrel=2
+pkgdesc="Perl extension for merging IPv4 or IPv6 CIDR addresses"
+arch=('any')
+license=('PerlArtistic')
+url="https://search.cpan.org/dist/${_realname}/"
+depends=('perl>=5.10.0')
+options=(!emptydirs)
+source=(https://search.cpan.org/CPAN/authors/id/S/ST/STIGTSP/${_realname}-${pkgver}.tar.gz)
+sha512sums=('5d89c0b6d950e5cb4c7eb9639829d76a67373865f5582f61d3e384636b176ac08335a9210d05a53c54105fecfb8ec98ae115cba3d181aed3032370d50f3aec9f')
+
+build() {
+  cd ${_realname}-${pkgver}
+  # install module in vendor directories.
+  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+package() {
+  cd ${_realname}-${pkgver}
+  make install DESTDIR="${pkgdir}"
+}



More information about the arch-commits mailing list