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

Evangelos Foutras foutrelis at archlinux.org
Wed Aug 1 12:07:04 UTC 2018


    Date: Wednesday, August 1, 2018 @ 12:07:04
  Author: foutrelis
Revision: 366661

archrelease: copy trunk to community-staging-x86_64

Added:
  perl-padwalker/repos/community-staging-x86_64/
  perl-padwalker/repos/community-staging-x86_64/PKGBUILD
    (from rev 366660, perl-padwalker/trunk/PKGBUILD)

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

Copied: perl-padwalker/repos/community-staging-x86_64/PKGBUILD (from rev 366660, perl-padwalker/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2018-08-01 12:07:04 UTC (rev 366661)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Muflone http://www.muflone.com/contacts/english/
+# Contributor: John D Jones III AKA jnbek <jnbek1972 -_AT_- g m a i l -_Dot_- com>
+
+pkgname=perl-padwalker
+_perl_module=PadWalker
+pkgver=2.3
+pkgrel=2
+pkgdesc="Play with other peoples' lexical variables"
+arch=('x86_64')
+url="https://metacpan.org/release/${_perl_module}"
+license=('PerlArtistic' 'GPL')
+depends=('perl')
+source=("https://cpan.metacpan.org/authors/id/R/RO/ROBIN/${_perl_module}-${pkgver}.tar.gz")
+sha256sums=('2a6c44fb600861e54568e74081a8d1f121f0060076069ceab34b1ae89d6588cf')
+options=('!emptydirs')
+
+build() {
+  cd "${_perl_module}-${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 "${_perl_module}-${pkgver}"
+  unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
+  export PERL_MM_USE_DEFAULT=1
+  make test
+}
+
+package() {
+  cd "${_perl_module}-${pkgver}"
+  unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
+  make pure_install INSTALLDIRS=vendor DESTDIR="${pkgdir}"
+}



More information about the arch-commits mailing list