summaryrefslogtreecommitdiff
path: root/user/perl-test-some
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2022-06-11 21:36:28 -0500
committerZach van Rijn <me@zv.io>2022-10-21 18:34:01 -0500
commit7156408bdf4c0ae58b5d85d52e857b1afdab6945 (patch)
treead3f6a3f2184682191685669e661fa26c60836c1 /user/perl-test-some
parent578b4ef490c36152877758105debbbbca4e5854f (diff)
downloadpackages-7156408bdf4c0ae58b5d85d52e857b1afdab6945.tar.gz
packages-7156408bdf4c0ae58b5d85d52e857b1afdab6945.tar.bz2
packages-7156408bdf4c0ae58b5d85d52e857b1afdab6945.tar.xz
packages-7156408bdf4c0ae58b5d85d52e857b1afdab6945.zip
user/perl-test-some: New package
Diffstat (limited to 'user/perl-test-some')
-rw-r--r--user/perl-test-some/APKBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/user/perl-test-some/APKBUILD b/user/perl-test-some/APKBUILD
new file mode 100644
index 000000000..82e3286f2
--- /dev/null
+++ b/user/perl-test-some/APKBUILD
@@ -0,0 +1,35 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
+pkgname=perl-test-some
+_pkgreal=Test-Some
+_author=YANICK
+_au=${_author%%"${_author#??}"}
+_a=${_author%%"${_author#?}"}
+pkgver=0.2.1
+pkgrel=0
+pkgdesc="Perl library for testing a subset of tests"
+url="https://metacpan.org/pod/Test::Some"
+arch="noarch"
+license="Artistic-1.0-Perl OR GPL-1.0+"
+depends="perl perl-list-moreutils perl-package-stash perl-test-simple"
+checkdepends=""
+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="d8dbea9853dfc8390350d2f87b871264e9e518822d3a274a636a34d7b57650d4c6c1f9da80c80987a3b3b02f285bf6183e0fc00a8acd168d49a8487e7e68b103 Test-Some-0.2.1.tar.gz"