[arch-commits] Commit in perl-data-optlist/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Wed Aug 1 09:25:32 UTC 2018
Date: Wednesday, August 1, 2018 @ 09:25:32
Author: foutrelis
Revision: 366418
archrelease: copy trunk to community-staging-any
Added:
perl-data-optlist/repos/community-staging-any/
perl-data-optlist/repos/community-staging-any/PKGBUILD
(from rev 366417, perl-data-optlist/trunk/PKGBUILD)
----------+
PKGBUILD | 43 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
Copied: perl-data-optlist/repos/community-staging-any/PKGBUILD (from rev 366417, perl-data-optlist/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2018-08-01 09:25:32 UTC (rev 366418)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Jonathan Steel <jsteel at aur.archlinux.org>
+# Contributor: Justin Davis <jrcd83 at gmail.com>
+
+pkgname=perl-data-optlist
+pkgver=0.110
+pkgrel=4
+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')
+url="https://metacpan.org/release/Data-OptList"
+source=(http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Data-OptList-$pkgver.tar.gz)
+md5sums=('f9236c9ea5607134ad8a2b3dc901c4c5')
+
+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