[arch-commits] Commit in perl-params-validationcompiler/repos/community-any (PKGBUILD)
Sergej Pupykin
spupykin at archlinux.org
Tue Oct 11 14:46:37 UTC 2016
Date: Tuesday, October 11, 2016 @ 14:46:36
Author: spupykin
Revision: 191951
archrelease: copy trunk to community-any
Added:
perl-params-validationcompiler/repos/community-any/PKGBUILD
(from rev 191950, perl-params-validationcompiler/trunk/PKGBUILD)
----------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Copied: perl-params-validationcompiler/repos/community-any/PKGBUILD (from rev 191950, perl-params-validationcompiler/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2016-10-11 14:46:36 UTC (rev 191951)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Sergej Pupykin <arch+pub at sergej.pp.ru>
+
+pkgname=perl-params-validationcompiler
+_pkgname=Params-ValidationCompiler
+pkgver=0.13
+pkgrel=1
+pkgdesc="Build an optimized subroutine parameter validator once, use it forever"
+arch=('any')
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+depends=('perl-role-tiny' 'perl-eval-closure')
+checkdepends=('perl-test-fatal')
+url="http://search.cpan.org/dist/Params-ValidationCompiler/"
+source=(http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/Params-ValidationCompiler-$pkgver.tar.gz)
+md5sums=('e654da776110d5e821c43b2f30f03d68')
+
+build() {
+ export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL="--skipdeps" \
+ PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \
+ PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
+ MODULEBUILDRC=/dev/null
+
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+ perl Makefile.PL
+ make
+}
+
+package() {
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+ make install
+}
More information about the arch-commits
mailing list