diff options
author | Britney Fransen <brfransen@gmail.com> | 2018-09-06 16:35:27 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2018-09-06 16:35:27 (GMT) |
commit | 5669815ec3a539cf7b5ac7d8da2cbba3aeff44be (patch) | |
tree | f13051093a52f47f5954c2ee2a783bc2f0f62f96 /abs/core/perl_modules/perl-devel-stacktrace | |
parent | 8d35f28049488f2585ef765bf48e7a58958fd587 (diff) | |
parent | 04697136037cb5341ee6c051f8aaa265c0400c82 (diff) | |
download | linhes_pkgbuild-5669815ec3a539cf7b5ac7d8da2cbba3aeff44be.zip linhes_pkgbuild-5669815ec3a539cf7b5ac7d8da2cbba3aeff44be.tar.gz linhes_pkgbuild-5669815ec3a539cf7b5ac7d8da2cbba3aeff44be.tar.bz2 |
Merge branch 'testing'
Diffstat (limited to 'abs/core/perl_modules/perl-devel-stacktrace')
-rw-r--r-- | abs/core/perl_modules/perl-devel-stacktrace/PKGBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/abs/core/perl_modules/perl-devel-stacktrace/PKGBUILD b/abs/core/perl_modules/perl-devel-stacktrace/PKGBUILD new file mode 100644 index 0000000..01991ed --- /dev/null +++ b/abs/core/perl_modules/perl-devel-stacktrace/PKGBUILD @@ -0,0 +1,40 @@ +# $Id$ +# Maintainer: Jaroslav Lichtblau <svetlemodry@archlinux.org> +# Contributor: Moritz Bunkus <moritz@bunkus.org> + +pkgname=perl-devel-stacktrace +pkgver=2.03 +pkgrel=1 +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=('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 +} |