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

Felix Yan felixonmars at archlinux.org
Sat May 25 09:18:14 UTC 2019


    Date: Saturday, May 25, 2019 @ 09:18:13
  Author: felixonmars
Revision: 354054

archrelease: copy trunk to staging-x86_64

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

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

Copied: perl-autovivification/repos/staging-x86_64/PKGBUILD (from rev 354053, perl-autovivification/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2019-05-25 09:18:13 UTC (rev 354054)
@@ -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=3
+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