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

Evangelos Foutras foutrelis at archlinux.org
Sat May 25 08:53:51 UTC 2019


    Date: Saturday, May 25, 2019 @ 08:53:50
  Author: foutrelis
Revision: 469938

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 469937, perl-test-leaktrace/trunk/PKGBUILD)

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

Copied: perl-test-leaktrace/repos/community-staging-x86_64/PKGBUILD (from rev 469937, perl-test-leaktrace/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2019-05-25 08:53:50 UTC (rev 469938)
@@ -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=5
+pkgdesc="Traces memory leaks"
+arch=('x86_64')
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+depends=('perl')
+url='http://search.cpan.org/dist/Test-LeakTrace'
+source=("http://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