summaryrefslogtreecommitdiff
path: root/legacy/perl-devel-mat/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2022-12-18 00:01:50 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2022-12-23 07:50:06 +0000
commit8eeedd9a4a604c198ea266cb4f0f07897a595fec (patch)
tree223f094ba5bc688580b3885ae9d57ff7387a2069 /legacy/perl-devel-mat/APKBUILD
parentfca2e984dc20c1e4273977eb747d4989a6531873 (diff)
downloadpackages-8eeedd9a4a604c198ea266cb4f0f07897a595fec.tar.gz
packages-8eeedd9a4a604c198ea266cb4f0f07897a595fec.tar.bz2
packages-8eeedd9a4a604c198ea266cb4f0f07897a595fec.tar.xz
packages-8eeedd9a4a604c198ea266cb4f0f07897a595fec.zip
user/perl-devel-mat{,-dumper}: Move to legacy/
These packages don't work right now. Hopefully we can work with upstream to fix them on musl systems. Closes: #872
Diffstat (limited to 'legacy/perl-devel-mat/APKBUILD')
-rw-r--r--legacy/perl-devel-mat/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/legacy/perl-devel-mat/APKBUILD b/legacy/perl-devel-mat/APKBUILD
new file mode 100644
index 000000000..f1eaf03fe
--- /dev/null
+++ b/legacy/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"