[arch-commits] Commit in perl-params-validationcompiler/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Mon May 24 10:34:04 UTC 2021


    Date: Monday, May 24, 2021 @ 10:34:04
  Author: foutrelis
Revision: 944254

archrelease: copy trunk to community-staging-any

Added:
  perl-params-validationcompiler/repos/community-staging-any/
  perl-params-validationcompiler/repos/community-staging-any/PKGBUILD
    (from rev 944253, perl-params-validationcompiler/trunk/PKGBUILD)

----------+
 PKGBUILD |   31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

Copied: perl-params-validationcompiler/repos/community-staging-any/PKGBUILD (from rev 944253, perl-params-validationcompiler/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-05-24 10:34:04 UTC (rev 944254)
@@ -0,0 +1,31 @@
+# Maintainer: Sergej Pupykin <arch+pub at sergej.pp.ru>
+
+pkgname=perl-params-validationcompiler
+_pkgname=Params-ValidationCompiler
+pkgver=0.30
+pkgrel=4
+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="https://search.cpan.org/dist/Params-ValidationCompiler/"
+source=(https://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/Params-ValidationCompiler-$pkgver.tar.gz)
+sha256sums=('dc5bee23383be42765073db284bed9fbd819d4705ad649c20b644452090d16cb')
+
+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