[arch-commits] Commit in perl-devel-leak/repos (4 files)
Evangelos Foutras
foutrelis at archlinux.org
Thu Aug 24 12:19:38 UTC 2017
Date: Thursday, August 24, 2017 @ 12:19:38
Author: foutrelis
Revision: 253164
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
perl-devel-leak/repos/community-staging-i686/
perl-devel-leak/repos/community-staging-i686/PKGBUILD
(from rev 253163, perl-devel-leak/trunk/PKGBUILD)
perl-devel-leak/repos/community-staging-x86_64/
perl-devel-leak/repos/community-staging-x86_64/PKGBUILD
(from rev 253163, perl-devel-leak/trunk/PKGBUILD)
-----------------------------------+
community-staging-i686/PKGBUILD | 57 ++++++++++++++++++++++++++++++++++++
community-staging-x86_64/PKGBUILD | 57 ++++++++++++++++++++++++++++++++++++
2 files changed, 114 insertions(+)
Copied: perl-devel-leak/repos/community-staging-i686/PKGBUILD (from rev 253163, perl-devel-leak/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2017-08-24 12:19:38 UTC (rev 253164)
@@ -0,0 +1,57 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: John D Jones III <jnbek1972 -_AT_- g m a i l -_Dot_- com>
+# Generator : CPANPLUS::Dist::Arch 1.29
+
+pkgname=perl-devel-leak
+pkgver=0.03
+pkgrel=5
+pkgdesc="Utility for looking for perl objects that are not reclaimed."
+arch=('i686' 'x86_64')
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+depends=('perl')
+url='http://search.mcpan.org/dist/Devel-Leak'
+source=('http://search.mcpan.org/CPAN/authors/id/N/NI/NI-S/Devel-Leak-0.03.tar.gz')
+sha512sums=('177f64b87fa6ab08b93f7c5bfcbaf4421e8431bf795976a0a7efa0120828984fed29a2bc12918e5bea9ea3edccf6316ba8daf704f349aece84b45bdd11f57707')
+_distdir="Devel-Leak-0.03"
+
+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
+# template start; name=perl-binary-module-dependency; version=1;
+if [[ $(find "$pkgdir/usr/lib/perl5/" -name "*.so") ]]; then
+ _perlver_min=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]);')
+ _perlver_max=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]+1);')
+ depends+=("perl>=$_perlver_min" "perl<$_perlver_max")
+fi
+# template end;
+}
+
+# Local Variables:
+# mode: shell-script
+# sh-basic-offset: 2
+# End:
+# vim:set ts=2 sw=2 et:
Copied: perl-devel-leak/repos/community-staging-x86_64/PKGBUILD (from rev 253163, perl-devel-leak/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2017-08-24 12:19:38 UTC (rev 253164)
@@ -0,0 +1,57 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: John D Jones III <jnbek1972 -_AT_- g m a i l -_Dot_- com>
+# Generator : CPANPLUS::Dist::Arch 1.29
+
+pkgname=perl-devel-leak
+pkgver=0.03
+pkgrel=5
+pkgdesc="Utility for looking for perl objects that are not reclaimed."
+arch=('i686' 'x86_64')
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+depends=('perl')
+url='http://search.mcpan.org/dist/Devel-Leak'
+source=('http://search.mcpan.org/CPAN/authors/id/N/NI/NI-S/Devel-Leak-0.03.tar.gz')
+sha512sums=('177f64b87fa6ab08b93f7c5bfcbaf4421e8431bf795976a0a7efa0120828984fed29a2bc12918e5bea9ea3edccf6316ba8daf704f349aece84b45bdd11f57707')
+_distdir="Devel-Leak-0.03"
+
+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
+# template start; name=perl-binary-module-dependency; version=1;
+if [[ $(find "$pkgdir/usr/lib/perl5/" -name "*.so") ]]; then
+ _perlver_min=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]);')
+ _perlver_max=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]+1);')
+ depends+=("perl>=$_perlver_min" "perl<$_perlver_max")
+fi
+# template end;
+}
+
+# Local Variables:
+# mode: shell-script
+# sh-basic-offset: 2
+# End:
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list