summaryrefslogblamecommitdiff
path: root/legacy/perl-devel-mat/APKBUILD
blob: 841162da57ba7d903aacea7f83df589240c8307b (plain) (tree)
1
2
3
4
5
6
7
8





                                                           
           




























                                                                                        
                                                                                                                                                                    
# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-devel-mat
_pkgreal=Devel-MAT
_author=PEVANS
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.49
pkgrel=0
pkgdesc="Perl Memory Analysis Tool"
url="https://metacpan.org/pod/Devel::MAT"
arch="all"
license="GPL-1.0+ OR Artistic-1.0-Perl"
depends="perl"
checkdepends="perl-test-fatal perl-test-identity"
makedepends="perl-commandable perl-dev perl-devel-mat-dumper
	perl-feature-compat-try perl-file-sharedir perl-heap perl-list-utilsby
	perl-module-build perl-module-pluggable perl-string-tagged
	perl-string-tagged-terminal perl-struct-dumb perl-syntax-keyword-match
	perl-xs-parse-keyword"
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="7940c5c87462da4dd953bbcd5fbd63fa924195489e290c241de597689f430fc1840b8cc0768fefbe896c97249a51286fd93b0afe0f95ad8acb68d73b9e46f50c  Devel-MAT-0.49.tar.gz"