diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-11-18 01:28:07 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-11-18 01:28:07 +0000 |
commit | 80aebc28f5d72c6302bd49d010eaaf8aaade5017 (patch) | |
tree | 50e0aa1b72d035b4b4d58e36ab7df0ac4c32aba5 /user/perl-devel-stacktrace-ashtml/APKBUILD | |
parent | fe21860c14828f049acc905220ff0cd00a82e5f4 (diff) | |
download | packages-80aebc28f5d72c6302bd49d010eaaf8aaade5017.tar.gz packages-80aebc28f5d72c6302bd49d010eaaf8aaade5017.tar.bz2 packages-80aebc28f5d72c6302bd49d010eaaf8aaade5017.tar.xz packages-80aebc28f5d72c6302bd49d010eaaf8aaade5017.zip |
user/perl-devel-stacktrace-ashtml: new package
Diffstat (limited to 'user/perl-devel-stacktrace-ashtml/APKBUILD')
-rw-r--r-- | user/perl-devel-stacktrace-ashtml/APKBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/user/perl-devel-stacktrace-ashtml/APKBUILD b/user/perl-devel-stacktrace-ashtml/APKBUILD new file mode 100644 index 000000000..583a868d5 --- /dev/null +++ b/user/perl-devel-stacktrace-ashtml/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> +pkgname=perl-devel-stacktrace-ashtml +_pkgname=Devel-StackTrace-AsHTML +pkgver=0.15 +pkgrel=0 +pkgdesc="Display Perl stack traces in HTML" +url="https://metacpan.org/release/Devel-StackTrace-AsHTML" +arch="noarch" +license="Artistic-1.0-Perl OR GPL-2.0-only" +depends="perl-devel-stacktrace" +makedepends="perl-dev" +subpackages="$pkgname-doc" +source="https://cpan.metacpan.org/authors/id/M/MI/MIYAGAWA/Devel-StackTrace-AsHTML-$pkgver.tar.gz" +builddir="$srcdir/Devel-StackTrace-AsHTML-$pkgver" + +build() { + cd "$builddir" + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd "$builddir" + make test +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +sha512sums="aa81f3b88e27c83e1f8a51981b201edd9cecaa0430a16f72f0a05d323d77e9ede21c4629a40779ea5e2aa5759ecc0d9cecf67a81e752b4a82d360f23561933ce Devel-StackTrace-AsHTML-0.15.tar.gz" |