[arch-commits] Commit in perl-data-optlist/repos (2 files)
Florian Pritz
bluewind at nymeria.archlinux.org
Tue Jun 3 10:47:27 UTC 2014
Date: Tuesday, June 3, 2014 @ 12:47:27
Author: bluewind
Revision: 112548
archrelease: copy trunk to community-testing-any
Added:
perl-data-optlist/repos/community-testing-any/
perl-data-optlist/repos/community-testing-any/PKGBUILD
(from rev 112547, perl-data-optlist/trunk/PKGBUILD)
----------+
PKGBUILD | 44 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
Copied: perl-data-optlist/repos/community-testing-any/PKGBUILD (from rev 112547, perl-data-optlist/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD (rev 0)
+++ community-testing-any/PKGBUILD 2014-06-03 10:47:27 UTC (rev 112548)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Jonathan Steel <jsteel at aur.archlinux.org>
+# Contributor: Justin Davis <jrcd83 at gmail.com>
+
+pkgname=perl-data-optlist
+pkgver=0.109
+pkgrel=2
+pkgdesc="Parse and validate simple name/value option pairs"
+arch=('any')
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+depends=('perl-params-util' 'perl-scalar-list-utils' 'perl-sub-install')
+makedepends=('perl-extutils-makemaker')
+checkdepends=('perl-test-simple')
+url="https://metacpan.org/release/Data-OptList"
+source=(http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Data-OptList-$pkgver.tar.gz)
+md5sums=('de3f747d6b802ded363cf434a96dab8f')
+
+build() {
+ ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
+ PERL_AUTOINSTALL=--skipdeps \
+ PERL_MM_OPT="INSTALLDIRS=vendor" \
+ PERL_MB_OPT="--installdirs vendor" \
+ MODULEBUILDRC=/dev/null
+ cd "$srcdir"/Data-OptList-$pkgver
+
+ /usr/bin/perl Makefile.PL
+ make
+ )
+}
+
+check() {
+ ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
+ cd "$srcdir"/Data-OptList-$pkgver
+
+ make test
+ )
+}
+
+package() {
+ cd "$srcdir"/Data-OptList-$pkgver
+
+ make DESTDIR="$pkgdir"/ install
+}
More information about the arch-commits
mailing list