summaryrefslogtreecommitdiff
path: root/user/perl-devel-stacktrace/APKBUILD
blob: 3b14c894a51ab7600db3a4f9c98b368ade8cfe34 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-devel-stacktrace
pkgver=2.04
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() {
	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
	make
}

check() {
	make test
}

package() {
	make DESTDIR="$pkgdir" install
	find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}

sha512sums="2330c1d8619cdcb42b5919090e6eaabbe34ab26b50d5c09c4cfd7ed099829817a50ffe582bd1f2a19a7d5be050819796f22dee32b10e175259e6df177ce6d0a9  Devel-StackTrace-2.04.tar.gz"