[arch-commits] Commit in perl-net-cidr-lite/repos (staging-any staging-any/PKGBUILD)
Evangelos Foutras
foutrelis at archlinux.org
Wed Aug 1 09:03:33 UTC 2018
Date: Wednesday, August 1, 2018 @ 09:03:33
Author: foutrelis
Revision: 329934
archrelease: copy trunk to staging-any
Added:
perl-net-cidr-lite/repos/staging-any/
perl-net-cidr-lite/repos/staging-any/PKGBUILD
(from rev 329933, perl-net-cidr-lite/trunk/PKGBUILD)
----------+
PKGBUILD | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
Copied: perl-net-cidr-lite/repos/staging-any/PKGBUILD (from rev 329933, perl-net-cidr-lite/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD (rev 0)
+++ staging-any/PKGBUILD 2018-08-01 09:03:33 UTC (rev 329934)
@@ -0,0 +1,28 @@
+# $Id$
+# 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=6
+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