summaryrefslogtreecommitdiff
path: root/system/perl-test-deep/APKBUILD
diff options
context:
space:
mode:
authorZach van Rijn <me@zv.io>2023-11-08 16:33:55 -0600
committerZach van Rijn <me@zv.io>2023-11-08 16:35:20 -0600
commita9abf5f4d46395600bd88acbc41c938d73495d68 (patch)
treed82dc92225b4e07f68dd91f10f3265b46e5a8c7c /system/perl-test-deep/APKBUILD
parent3bd21e91e3aaaa75a0d748dea162d45956d2d059 (diff)
downloadpackages-a9abf5f4d46395600bd88acbc41c938d73495d68.tar.gz
packages-a9abf5f4d46395600bd88acbc41c938d73495d68.tar.bz2
packages-a9abf5f4d46395600bd88acbc41c938d73495d68.tar.xz
packages-a9abf5f4d46395600bd88acbc41c938d73495d68.zip
{user => system}/perl-test-deep: move
Diffstat (limited to 'system/perl-test-deep/APKBUILD')
-rw-r--r--system/perl-test-deep/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/system/perl-test-deep/APKBUILD b/system/perl-test-deep/APKBUILD
new file mode 100644
index 000000000..422c93185
--- /dev/null
+++ b/system/perl-test-deep/APKBUILD
@@ -0,0 +1,34 @@
+# Contributor: Dan Theisen <djt@hxx.in>
+# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
+pkgname=perl-test-deep
+_pkgreal=Test-Deep
+_author=RJBS
+_au=${_author%%"${_author#??}"}
+_a=${_author%%"${_author#?}"}
+pkgver=1.204
+pkgrel=0
+pkgdesc="Extremely flexible deep comparison"
+url="https://metacpan.org/pod/Test::Deep"
+arch="noarch"
+license="Artistic-1.0-Perl OR GPL-1.0+"
+depends="perl"
+makedepends="perl-dev"
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
+builddir="$srcdir/$_pkgreal-$pkgver"
+
+build() {
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+check() {
+ make test
+}
+
+package() {
+ make DESTDIR="$pkgdir" install
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+sha512sums="1a11b221810b7b23a6d3f71546e264ea3636fa36c73def760f756da69e6937ca3e1c1123505b80241360459d09fc4b9ab614d1c6826593695f6577f60595a8ae Test-Deep-1.204.tar.gz"