summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-10-01 04:32:32 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-10-01 04:32:32 +0000
commit1cb8a48678ceb4735582ad570b42779a890db1c2 (patch)
treeb328c21ce4c7e08e717de758233324039ab3f5f2 /user
parenteeae5839ce099e0803f533c21c26e618a41b5f9e (diff)
downloadpackages-1cb8a48678ceb4735582ad570b42779a890db1c2.tar.gz
packages-1cb8a48678ceb4735582ad570b42779a890db1c2.tar.bz2
packages-1cb8a48678ceb4735582ad570b42779a890db1c2.tar.xz
packages-1cb8a48678ceb4735582ad570b42779a890db1c2.zip
user/perl-devel-stacktrace: new package
Diffstat (limited to 'user')
-rw-r--r--user/perl-devel-stacktrace/APKBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/user/perl-devel-stacktrace/APKBUILD b/user/perl-devel-stacktrace/APKBUILD
new file mode 100644
index 000000000..1420b82f3
--- /dev/null
+++ b/user/perl-devel-stacktrace/APKBUILD
@@ -0,0 +1,33 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
+pkgname=perl-devel-stacktrace
+pkgver=2.03
+pkgrel=0
+pkgdesc="A Perl object representing a stack trace"
+url="https://metacpan.org/release/Devel-StackTrace"
+arch="noarch"
+license="Artistic-2.0"
+depends=""
+makedepends="perl-dev"
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/Devel-StackTrace-$pkgver.tar.gz"
+builddir="$srcdir/Devel-StackTrace-$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="a5263ec76f5adb83b83cc4906c18d6c341f50472a254617882a889315597698968988be1bacbbb4c6c0709974ff4ba67a14835d3c2278d672219c52e4c823514 Devel-StackTrace-2.03.tar.gz"