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

Fabio Castelli muflone at archlinux.org
Sun Apr 1 23:44:55 UTC 2018


    Date: Sunday, April 1, 2018 @ 23:44:54
  Author: muflone
Revision: 313784

archrelease: copy trunk to community-testing-any

Added:
  perl-devel-cycle/repos/community-testing-any/
  perl-devel-cycle/repos/community-testing-any/PKGBUILD
    (from rev 313783, perl-devel-cycle/trunk/PKGBUILD)

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

Copied: perl-devel-cycle/repos/community-testing-any/PKGBUILD (from rev 313783, perl-devel-cycle/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2018-04-01 23:44:54 UTC (rev 313784)
@@ -0,0 +1,40 @@
+# $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-devel-cycle
+_perl_namespace=Devel
+_perl_module=Cycle
+pkgver=1.12
+pkgrel=2
+pkgdesc="Find memory cycles in objects"
+arch=('any')
+url="https://metacpan.org/release/${_perl_namespace}-${_perl_module}"
+license=('PerlArtistic' 'GPL')
+depends=('perl')
+source=("https://www.cpan.org/modules/by-module/${_perl_namespace}/${_perl_namespace}-${_perl_module}-${pkgver}.tar.gz")
+sha256sums=('fd3365c4d898b2b2bddbb78a46d507a18cca8490a290199547dab7f1e7390bc2')
+options=('!emptydirs')
+
+build() {
+  cd "${_perl_namespace}-${_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_namespace}-${_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_namespace}-${_perl_module}-${pkgver}"
+  unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
+  make pure_install INSTALLDIRS=vendor DESTDIR="${pkgdir}"
+  # Delete unuseful files
+  find "${pkgdir}" -name '.packlist' -delete
+}



More information about the arch-commits mailing list