summaryrefslogtreecommitdiff
path: root/user/perl-devel-mat
diff options
context:
space:
mode:
Diffstat (limited to 'user/perl-devel-mat')
-rw-r--r--user/perl-devel-mat/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/user/perl-devel-mat/APKBUILD b/user/perl-devel-mat/APKBUILD
new file mode 100644
index 000000000..f1eaf03fe
--- /dev/null
+++ b/user/perl-devel-mat/APKBUILD
@@ -0,0 +1,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"