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

Florian Pritz bluewind at archlinux.org
Wed Aug 1 09:03:50 UTC 2018


    Date: Wednesday, August 1, 2018 @ 09:03:50
  Author: bluewind
Revision: 329936

archrelease: copy trunk to staging-x86_64

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

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

Copied: perl-autovivification/repos/staging-x86_64/PKGBUILD (from rev 329935, perl-autovivification/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2018-08-01 09:03:50 UTC (rev 329936)
@@ -0,0 +1,40 @@
+# $Id$
+# 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=2
+pkgdesc="Lexically disable autovivification."
+arch=('x86_64')
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+depends=('perl>=5.8.3')
+makedepends=()
+url='http://search.cpan.org/dist/autovivification'
+source=("http://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