blob: f1eaf03fe3991104dcb20e625139a786286a0858 (
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
35
36
37
38
39
|
# 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.47
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="c2f7fd8b9debb05d6ffd9280045670196b23b4b73604738cb8dd7d94394fb006c3e697f4c805ce32b9acbbf63f4edf7df7697ee22fa54bc2de00d62b4c07653d Devel-MAT-0.47.tar.gz"
|