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

Evangelos Foutras foutrelis at archlinux.org
Sun Jun 21 10:27:04 UTC 2020


    Date: Sunday, June 21, 2020 @ 10:27:04
  Author: foutrelis
Revision: 389641

archrelease: copy trunk to staging-x86_64

Added:
  perl-autovivification/repos/staging-x86_64/
  perl-autovivification/repos/staging-x86_64/PKGBUILD
    (from rev 389640, perl-autovivification/trunk/PKGBUILD)

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

Copied: perl-autovivification/repos/staging-x86_64/PKGBUILD (from rev 389640, perl-autovivification/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2020-06-21 10:27:04 UTC (rev 389641)
@@ -0,0 +1,39 @@
+# Maintainer: Rémy Oudompheng <remy at archlinux.org>
+# Contributor: Mateusz Krasowski <matkras at gmail.com>
+# Contributor: Luigi ranghetti <ggranga at gmail.com>
+# Generator  : CPANPLUS::Dist::Arch 1.25
+
+pkgname='perl-autovivification'
+_dist="autovivification"
+pkgver=0.18
+pkgrel=6
+pkgdesc="Lexically disable autovivification."
+arch=('x86_64')
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+depends=('perl>=5.8.3')
+makedepends=()
+url='https://metacpan.org/release/autovivification'
+source=("https://www.cpan.org/authors/id/V/VP/VPIT/autovivification-$pkgver.tar.gz")
+sha256sums=('2d99975685242980d0a9904f639144c059d6ece15899efde4acb742d3253f105')
+
+build() {
+    cd "${srcdir}/${_dist}-${pkgver}"
+    unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
+    export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
+    perl Makefile.PL
+    make
+}
+
+check() {
+    cd "${srcdir}/${_dist}-${pkgver}"
+    unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
+    export PERL_MM_USE_DEFAULT=1
+    make test
+}
+
+package() {
+    cd "${srcdir}/${_dist}-${pkgver}"
+    unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
+    make install INSTALLDIRS=vendor DESTDIR="$pkgdir"
+}



More information about the arch-commits mailing list