[arch-commits] Commit in perl-params-validationcompiler (trunk trunk/PKGBUILD)
Sergej Pupykin
spupykin at archlinux.org
Tue Oct 11 14:46:15 UTC 2016
Date: Tuesday, October 11, 2016 @ 14:46:14
Author: spupykin
Revision: 191950
Added:
perl-params-validationcompiler/trunk/
perl-params-validationcompiler/trunk/PKGBUILD
----------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Added: trunk/PKGBUILD
===================================================================
--- trunk/PKGBUILD (rev 0)
+++ trunk/PKGBUILD 2016-10-11 14:46:14 UTC (rev 191950)
@@ -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