[arch-commits] Commit in perl-eval-closure/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Sat May 25 10:47:38 UTC 2019


    Date: Saturday, May 25, 2019 @ 10:47:37
  Author: foutrelis
Revision: 470256

archrelease: copy trunk to community-staging-any

Added:
  perl-eval-closure/repos/community-staging-any/
  perl-eval-closure/repos/community-staging-any/PKGBUILD
    (from rev 470255, perl-eval-closure/trunk/PKGBUILD)

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

Copied: perl-eval-closure/repos/community-staging-any/PKGBUILD (from rev 470255, perl-eval-closure/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-05-25 10:47:37 UTC (rev 470256)
@@ -0,0 +1,37 @@
+# Maintainer: Sergej Pupykin <arch+pub at sergej.pp.ru>
+# Montainer: 3ED <krzysztof1987 at gmail dot com>
+#
+
+pkgname=perl-eval-closure
+_lastauthor=D/DO/DOY
+_pkgname=Eval-Closure
+pkgver=0.14
+pkgrel=5
+pkgdesc="safely and cleanly create closures via string eval"
+arch=('any')
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+depends=('perl-try-tiny' 'perl-sub-exporter')
+checkdepends=('perl-test-requires' 'perl-test-fatal' 'perl-test-output')
+url="https://metacpan.org/release/${_pkgname}"
+source=(https://cpan.metacpan.org/authors/id/${_lastauthor}/${_pkgname}-${pkgver}.tar.gz)
+md5sums=('ceeb1fc579ac9af981fa6b600538c285')
+
+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
+}
+check() {
+  cd "${srcdir}/${_pkgname}-${pkgver}"
+  make test
+}
+package() {
+  cd "${srcdir}/${_pkgname}-${pkgver}"
+  make install
+}


More information about the arch-commits mailing list