1 # Maintainer: Jaroslav Lichtblau <svetlemodry@archlinux.org>
2 # Contributor: Moritz Bunkus <moritz@bunkus.org>
4 pkgname=perl-devel-stacktrace
7 pkgdesc='An object representing a stack trace'
9 url="https://metacpan.org/release/Devel-StackTrace"
10 license=('PerlArtistic' 'GPL')
12 options=('!emptydirs')
13 source=(https://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/Devel-StackTrace-$pkgver.tar.gz)
14 sha256sums=('cd3c03ed547d3d42c61fa5814c98296139392e7971c092e09a431f2c9f5d6855')
17 cd "${srcdir}"/Devel-StackTrace-$pkgver
19 export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
20 unset PERL5LIB PERL_MM_OPT
26 cd "${srcdir}"/Devel-StackTrace-$pkgver
28 export PERL_MM_USE_DEFAULT=1
34 cd "${srcdir}"/Devel-StackTrace-$pkgver
36 make install INSTALLDIRS=vendor DESTDIR="${pkgdir}"
38 find "${pkgdir}" -name .packlist -o -name perllocal.pod -delete