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

Felix Yan felixonmars at archlinux.org
Sat May 25 08:59:39 UTC 2019


    Date: Saturday, May 25, 2019 @ 08:59:38
  Author: felixonmars
Revision: 469958

archrelease: copy trunk to community-staging-x86_64

Added:
  perl-devel-leak/repos/community-staging-x86_64/
  perl-devel-leak/repos/community-staging-x86_64/PKGBUILD
    (from rev 469956, perl-devel-leak/trunk/PKGBUILD)

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

Copied: perl-devel-leak/repos/community-staging-x86_64/PKGBUILD (from rev 469956, perl-devel-leak/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2019-05-25 08:59:38 UTC (rev 469958)
@@ -0,0 +1,49 @@
+# 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=8
+pkgdesc="Utility for looking for perl objects that are not reclaimed."
+arch=('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
+}
+
+# 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