diff options
author | Erich Eckner <git@eckner.net> | 2016-04-20 23:46:06 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2016-04-20 23:46:06 +0200 |
commit | 752f7655c701a39ea046e223f23a94a1ce73906b (patch) | |
tree | 1e5730d912f3b134ff0ec3c9f813ca8b4cc8adcc | |
parent | f8e72473834c0fccf7e809f9a688c660c22255fe (diff) | |
download | archlinuxewe.git.save-752f7655c701a39ea046e223f23a94a1ce73906b.tar.xz |
perl-devel-cycle neu
-rw-r--r-- | perl-devel-cycle/PKGBUILD | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/perl-devel-cycle/PKGBUILD b/perl-devel-cycle/PKGBUILD new file mode 100644 index 00000000..a796f9f0 --- /dev/null +++ b/perl-devel-cycle/PKGBUILD @@ -0,0 +1,50 @@ +# Contributor: John D Jones III AKA jnbek <jnbek1972 -_AT_- g m a i l -_Dot_- com> +# Generator : CPANPLUS::Dist::Arch 1.30 +# Maintainer: Erich Eckner <arch at eckner dot net> + +pkgname='perl-devel-cycle' +pkgver='1.12' +pkgrel='1' +pkgdesc="Find memory cycles in objects" +arch=('any') +license=('PerlArtistic' 'GPL') +options=('!emptydirs') +depends=('perl') +makedepends=() +url='https://metacpan.org/release/Devel-Cycle' +source=("http://search.cpan.org/CPAN/authors/id/L/LD/LDS/Devel-Cycle-${pkgver}.tar.gz") +sha512sums=('e2c83829905449d13c86233ad5bfce28e7b4eca61a8ac1e2f73e3c906a2d8580f66ae84d865ef876c38c2d25f0a5a8adeb05f6e94594274d8a5fa1739842d08d') +_distdir="Devel-Cycle-${pkgver}" + +build() { + ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \ + PERL_AUTOINSTALL=--skipdeps \ + PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \ + PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \ + MODULEBUILDRC=/dev/null + + cd "$srcdir/$_distdir" + /usr/bin/perl Makefile.PL + make + ) +} + +check() { + cd "$srcdir/$_distdir" + ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" + make test + ) +} + +package() { + cd "$srcdir/$_distdir" + make install + + find "$pkgdir" -name .packlist -o -name perllocal.pod -delete +} + +# Local Variables: +# mode: shell-script +# sh-basic-offset: 2 +# End: +# vim:set ts=2 sw=2 et: |