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

Evangelos Foutras foutrelis at archlinux.org
Wed Aug 1 09:16:23 UTC 2018


    Date: Wednesday, August 1, 2018 @ 09:16:22
  Author: foutrelis
Revision: 366340

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

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

Copied: perl-test-leaktrace/repos/community-staging-x86_64/PKGBUILD (from rev 366338, perl-test-leaktrace/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2018-08-01 09:16:22 UTC (rev 366340)
@@ -0,0 +1,51 @@
+# $Id$
+# 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=4
+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