[arch-commits] Commit in (4 files)
Fabio Castelli
muflone at archlinux.org
Sun Apr 1 23:43:58 UTC 2018
Date: Sunday, April 1, 2018 @ 23:43:57
Author: muflone
Revision: 313782
new package perl-devel-cycle 1.12-2
Added:
perl-devel-cycle/
perl-devel-cycle/repos/
perl-devel-cycle/trunk/
perl-devel-cycle/trunk/PKGBUILD
----------+
PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
Added: perl-devel-cycle/trunk/PKGBUILD
===================================================================
--- perl-devel-cycle/trunk/PKGBUILD (rev 0)
+++ perl-devel-cycle/trunk/PKGBUILD 2018-04-01 23:43:57 UTC (rev 313782)
@@ -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
+}
Property changes on: perl-devel-cycle/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
More information about the arch-commits
mailing list