diff options
author | Britney Fransen <brfransen@gmail.com> | 2018-05-30 20:08:07 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2018-05-30 20:08:07 (GMT) |
commit | f393c0192868d8ca4499b7196d6835fa51390dc3 (patch) | |
tree | 35d83d7252bf5254147e9150ac71810270d448b5 | |
parent | 13e383c35bdb0916ccead28de074eef9638bb1c6 (diff) | |
download | linhes_pkgbuild-f393c0192868d8ca4499b7196d6835fa51390dc3.zip linhes_pkgbuild-f393c0192868d8ca4499b7196d6835fa51390dc3.tar.gz linhes_pkgbuild-f393c0192868d8ca4499b7196d6835fa51390dc3.tar.bz2 |
perl-params-validationcompiler: initial
-rw-r--r-- | abs/core/perl-params-validationcompiler/PKGBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/abs/core/perl-params-validationcompiler/PKGBUILD b/abs/core/perl-params-validationcompiler/PKGBUILD new file mode 100644 index 0000000..2ace9e8 --- /dev/null +++ b/abs/core/perl-params-validationcompiler/PKGBUILD @@ -0,0 +1,32 @@ +# $Id$ +# Maintainer: Sergej Pupykin <arch+pub@sergej.pp.ru> + +pkgname=perl-params-validationcompiler +_pkgname=Params-ValidationCompiler +pkgver=0.27 +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' 'perl-exception-class') +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) +sha256sums=('50a99968359d430e34ea8a12e7f08a669ffd34a3dae4d8ea9ca076c1100af9b2') + +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 +} |