diff options
Diffstat (limited to 'user')
-rw-r--r-- | user/perl-devel-stacktrace/APKBUILD | 33 |
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" |