[arch-commits] Commit in perl-test-leaktrace/repos (2 files)

Felix Yan felixonmars at archlinux.org
Sun Jun 21 10:15:43 UTC 2020


    Date: Sunday, June 21, 2020 @ 10:15:42
  Author: felixonmars
Revision: 648853

archrelease: copy trunk to community-staging-x86_64

Added:
  perl-test-leaktrace/repos/community-staging-x86_64/
  perl-test-leaktrace/repos/community-staging-x86_64/PKGBUILD
    (from rev 648851, perl-test-leaktrace/trunk/PKGBUILD)

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

Copied: perl-test-leaktrace/repos/community-staging-x86_64/PKGBUILD (from rev 648851, perl-test-leaktrace/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-06-21 10:15:42 UTC (rev 648853)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: John D Jones III <j[nospace]n[nospace]b[nospace]e[nospace]k[nospace]1972 -_AT_- the domain name google offers a mail service at ending in dot com>
+# Generator  : CPANPLUS::Dist::Arch 1.25
+
+pkgname=perl-test-leaktrace
+pkgver=0.16
+pkgrel=7
+pkgdesc="Traces memory leaks"
+arch=('x86_64')
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+depends=('perl')
+url='https://search.cpan.org/dist/Test-LeakTrace'
+source=("https://search.cpan.org/CPAN/authors/id/L/LE/LEEJO/Test-LeakTrace-$pkgver.tar.gz")
+sha512sums=('6fa7a5eaae01ca5232f3f297a104553dac5f57e4c6721d7084e5d44b0133206100878c7067b228b1e01b21f7639a97a0ec48ef77198deb0598d94d8861bab049')
+_distdir="Test-LeakTrace-$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'" \
+      PERL_USE_UNSAFE_INC=1 \
+      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