summaryrefslogtreecommitdiff
path: root/user/perl-devel-mat-dumper
diff options
context:
space:
mode:
Diffstat (limited to 'user/perl-devel-mat-dumper')
-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"