[arch-commits] Commit in perl-netaddr-ip/repos (3 files)
Florian Pritz
bluewind at archlinux.org
Sun May 27 07:43:43 UTC 2012
Date: Sunday, May 27, 2012 @ 03:43:42
Author: bluewind
Revision: 159907
db-move: moved perl-netaddr-ip from [staging] to [testing] (x86_64)
Added:
perl-netaddr-ip/repos/testing-x86_64/
perl-netaddr-ip/repos/testing-x86_64/PKGBUILD
(from rev 159819, perl-netaddr-ip/repos/staging-x86_64/PKGBUILD)
Deleted:
perl-netaddr-ip/repos/staging-x86_64/
----------+
PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
Copied: perl-netaddr-ip/repos/testing-x86_64/PKGBUILD (from rev 159819, perl-netaddr-ip/repos/staging-x86_64/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2012-05-27 07:43:42 UTC (rev 159907)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer:
+# Contributor: Dale Blount <dale at archlinux.org>
+# Contributor: Francois Charette <francois.archlinux.org>
+
+pkgname=perl-netaddr-ip
+_realname=NetAddr-IP
+pkgver=4.058
+pkgrel=2
+pkgdesc="Perl module to manage IP addresses and subnets"
+arch=(i686 x86_64)
+license=('PerlArtistic' 'GPL')
+depends=('perl')
+options=('!emptydirs')
+url="http://search.cpan.org/dist/${_realname}/"
+source=(http://search.cpan.org/CPAN/authors/id/M/MI/MIKER/${_realname}-${pkgver}.tar.gz)
+md5sums=('8829958dd84a8b36e3cd10347564739d')
+
+build() {
+ cd "${srcdir}/${_realname}-${pkgver}"
+ # install module in vendor directories.
+ perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+check() {
+ cd "${srcdir}/${_realname}-${pkgver}"
+ make test
+}
+
+package() {
+ cd "${srcdir}/${_realname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}
More information about the arch-commits
mailing list