summaryrefslogtreecommitdiff
path: root/user/perl-devel-mat
diff options
context:
space:
mode:
authorSíle Ekaterin Liszka <sheila@vulpine.house>2022-05-05 17:10:40 +0000
committerZach van Rijn <me@zv.io>2022-10-21 18:33:59 -0500
commit89c66ab8c4a29e7c50fd9bd70f93b965bc63de9c (patch)
treed83e8f53369b460cbe4b75387c66ffbc8cfe3137 /user/perl-devel-mat
parenta835e44d8c894e29fb81c6d6581f47d6350d5217 (diff)
downloadpackages-89c66ab8c4a29e7c50fd9bd70f93b965bc63de9c.tar.gz
packages-89c66ab8c4a29e7c50fd9bd70f93b965bc63de9c.tar.bz2
packages-89c66ab8c4a29e7c50fd9bd70f93b965bc63de9c.tar.xz
packages-89c66ab8c4a29e7c50fd9bd70f93b965bc63de9c.zip
user/perl-devel-mat: new package
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"