From 46ea70efd8459d8895178c7eefe92be242caec7b Mon Sep 17 00:00:00 2001 From: Síle Ekaterin Liszka Date: Wed, 4 May 2022 23:42:20 +0000 Subject: user/perl-devel-mat-dumper: new package --- user/perl-devel-mat-dumper/APKBUILD | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 user/perl-devel-mat-dumper/APKBUILD (limited to 'user/perl-devel-mat-dumper/APKBUILD') 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 +# Maintainer: Síle Ekaterin Liszka +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" -- cgit v1.2.3-70-g09d2