aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-devel-stacktrace-ashtml/APKBUILD
blob: d25b510b6977751c9507cdf43c2082772cd9194e (plain)
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
31
32
33
34
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=perl-devel-stacktrace-ashtml
pkgver=0.15
pkgrel=0
pkgdesc="Devel::StackTrace::AsHTML perl module"
url="http://search.cpan.org/dist/Devel-StackTrace-AsHTML/"
arch="noarch"
license="GPLv2 or Artistic"
depends="perl perl-devel-stacktrace"
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/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"