summaryrefslogtreecommitdiff
path: root/user/perl-devel-mat-dumper/APKBUILD
blob: 69f78c652817cd69692133eb84a157400d6cb5b9 (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
31
32
33
34
# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-devel-mat-dumper
_pkgreal=Devel-MAT-Dumper
_author=PEVANS
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.45
pkgrel=0
pkgdesc="Tool for writing a heap dump file for later analysis"
url="https://metacpan.org/pod/Devel::MAT"
arch="noarch"
license="GPL-1.0+ OR Artistic-1.0-Perl"
depends="perl"
makedepends="perl-dev perl-module-build"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"

build() {
        perl Build.PL --destdir="$pkgdir" --prefix="/usr" --installdirs="vendor"
        ./Build
}

check() {
        ./Build test
}

package() {
        ./Build install
        find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}

sha512sums="1a87a05807b59a8c763fe4d36085bba8fff8eeadebd91e5629fc22791effb44366ef1c2348914d2452782bbcbf8f72edc97463da8e371a7fc01d6ab5b880432d  Devel-MAT-Dumper-0.45.tar.gz"