[arch-commits] Commit in perl-devel-stacktrace/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Mon May 24 08:30:34 UTC 2021
Date: Monday, May 24, 2021 @ 08:30:34
Author: felixonmars
Revision: 943884
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 943881, perl-devel-stacktrace/trunk/PKGBUILD)
----------+
PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
Copied: perl-devel-stacktrace/repos/community-staging-any/PKGBUILD (from rev 943881, perl-devel-stacktrace/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2021-05-24 08:30:34 UTC (rev 943884)
@@ -0,0 +1,39 @@
+# Maintainer: Jaroslav Lichtblau <svetlemodry at archlinux.org>
+# Contributor: Moritz Bunkus <moritz at bunkus.org>
+
+pkgname=perl-devel-stacktrace
+pkgver=2.03
+pkgrel=5
+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=(https://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/Devel-StackTrace-$pkgver.tar.gz)
+sha256sums=('7618cd4ebe24e254c17085f4b418784ab503cb4cb3baf8f48a7be894e59ba848')
+
+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