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

Evangelos Foutras foutrelis at archlinux.org
Mon May 24 08:31:32 UTC 2021


    Date: Monday, May 24, 2021 @ 08:31:31
  Author: foutrelis
Revision: 415948

archrelease: copy trunk to staging-x86_64

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

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

Copied: perl-autovivification/repos/staging-x86_64/PKGBUILD (from rev 415947, perl-autovivification/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2021-05-24 08:31:31 UTC (rev 415948)
@@ -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=7
+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