summaryrefslogtreecommitdiff
path: root/user/perl-devel-mat-dumper/APKBUILD
diff options
context:
space:
mode:
authorSíle Ekaterin Liszka <sheila@vulpine.house>2022-05-04 23:42:20 +0000
committerZach van Rijn <me@zv.io>2022-10-21 18:33:58 -0500
commit46ea70efd8459d8895178c7eefe92be242caec7b (patch)
tree28e7590cf7d20a2d0f66f3a33406705cfec61f58 /user/perl-devel-mat-dumper/APKBUILD
parent6b09f927098056443bf088993e961ee452aa2a35 (diff)
downloadpackages-46ea70efd8459d8895178c7eefe92be242caec7b.tar.gz
packages-46ea70efd8459d8895178c7eefe92be242caec7b.tar.bz2
packages-46ea70efd8459d8895178c7eefe92be242caec7b.tar.xz
packages-46ea70efd8459d8895178c7eefe92be242caec7b.zip
user/perl-devel-mat-dumper: new package
Diffstat (limited to 'user/perl-devel-mat-dumper/APKBUILD')
-rw-r--r--user/perl-devel-mat-dumper/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/user/perl-devel-mat-dumper/APKBUILD b/user/perl-devel-mat-dumper/APKBUILD
new file mode 100644
index 000000000..69f78c652
--- /dev/null
+++ b/user/perl-devel-mat-dumper/APKBUILD
@@ -0,0 +1,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.45
+pkgrel=0
+pkgdesc="Tool for writing a heap dump file for later analysis"
+url="https://metacpan.org/pod/Devel::MAT"
+arch="noarch"
+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="1a87a05807b59a8c763fe4d36085bba8fff8eeadebd91e5629fc22791effb44366ef1c2348914d2452782bbcbf8f72edc97463da8e371a7fc01d6ab5b880432d Devel-MAT-Dumper-0.45.tar.gz"