[arch-commits] Commit in perl-net-cidr-lite/repos (staging-any staging-any/PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Thu Jun 1 09:10:16 UTC 2017
Date: Thursday, June 1, 2017 @ 09:10:16
Author: felixonmars
Revision: 297139
archrelease: copy trunk to staging-any
Added:
perl-net-cidr-lite/repos/staging-any/
perl-net-cidr-lite/repos/staging-any/PKGBUILD
(from rev 297138, perl-net-cidr-lite/trunk/PKGBUILD)
----------+
PKGBUILD | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
Copied: perl-net-cidr-lite/repos/staging-any/PKGBUILD (from rev 297138, perl-net-cidr-lite/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD (rev 0)
+++ staging-any/PKGBUILD 2017-06-01 09:10:16 UTC (rev 297139)
@@ -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=4
+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