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

Evangelos Foutras foutrelis at gemini.archlinux.org
Sun May 29 09:36:29 UTC 2022


    Date: Sunday, May 29, 2022 @ 09:36:28
  Author: foutrelis
Revision: 1214102

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 1214100, perl-devel-leak/trunk/PKGBUILD)

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

Copied: perl-devel-leak/repos/community-staging-x86_64/PKGBUILD (from rev 1214100, perl-devel-leak/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2022-05-29 09:36:28 UTC (rev 1214102)
@@ -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=12
+pkgdesc="Utility for looking for perl objects that are not reclaimed."
+arch=('x86_64')
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+depends=('perl')
+url='https://search.mcpan.org/dist/Devel-Leak'
+source=("https://search.mcpan.org/CPAN/authors/id/N/NI/NI-S/Devel-Leak-$pkgver.tar.gz")
+sha512sums=('177f64b87fa6ab08b93f7c5bfcbaf4421e8431bf795976a0a7efa0120828984fed29a2bc12918e5bea9ea3edccf6316ba8daf704f349aece84b45bdd11f57707')
+_distdir="Devel-Leak-$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:



More information about the arch-commits mailing list