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

Felix Yan felixonmars at archlinux.org
Thu Jun 1 08:58:15 UTC 2017


    Date: Thursday, June 1, 2017 @ 08:58:14
  Author: felixonmars
Revision: 231875

archrelease: copy trunk to community-staging-any

Added:
  perl-devel-stacktrace/repos/community-staging-any/
  perl-devel-stacktrace/repos/community-staging-any/PKGBUILD
    (from rev 231873, perl-devel-stacktrace/trunk/PKGBUILD)

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

Copied: perl-devel-stacktrace/repos/community-staging-any/PKGBUILD (from rev 231873, perl-devel-stacktrace/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2017-06-01 08:58:14 UTC (rev 231875)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Jaroslav Lichtblau <svetlemodry at archlinux.org>
+# Contributor: Moritz Bunkus <moritz at bunkus.org>
+
+pkgname=perl-devel-stacktrace
+pkgver=2.02
+pkgrel=2
+pkgdesc='An object representing a stack trace'
+arch=('any')
+url="https://metacpan.org/release/Devel-StackTrace"
+license=('PerlArtistic' 'GPL')
+depends=('perl>=5.6')
+options=('!emptydirs')
+source=(http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/Devel-StackTrace-$pkgver.tar.gz)
+sha256sums=('cbbd96db0ecf194ed140198090eaea0e327d9a378a4aa15f9a34b3138a91931f')
+
+build() {
+  cd "${srcdir}"/Devel-StackTrace-$pkgver
+
+  export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
+  unset PERL5LIB PERL_MM_OPT
+  perl Makefile.PL
+  make
+}
+
+check() {
+  cd "${srcdir}"/Devel-StackTrace-$pkgver
+
+  export PERL_MM_USE_DEFAULT=1
+  unset PERL5LIB
+  make test
+}
+
+package() {
+  cd "${srcdir}"/Devel-StackTrace-$pkgver
+
+  make install INSTALLDIRS=vendor DESTDIR="${pkgdir}"
+
+  find "${pkgdir}" -name .packlist -o -name perllocal.pod -delete
+}



More information about the arch-commits mailing list