summaryrefslogtreecommitdiff
path: root/legacy/perl-devel-mat-dumper/APKBUILD
blob: 3d0c927c45032e2f678bdf23cc41c616e9e358f4 (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.46
pkgrel=0
pkgdesc="Tool for writing a heap dump file for later analysis"
url="https://metacpan.org/pod/Devel::MAT"
arch="all"
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="f012c1df3975429553eed998e897b5df31152f394a0080e923e9fe53a8e24304f3303addc2bf409f9ad64eca18f20e48fbf3c6e434a567bb41dbf47adb2a85f8  Devel-MAT-Dumper-0.46.tar.gz"