From 7156408bdf4c0ae58b5d85d52e857b1afdab6945 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sat, 11 Jun 2022 21:36:28 -0500 Subject: user/perl-test-some: New package --- user/perl-test-some/APKBUILD | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 user/perl-test-some/APKBUILD (limited to 'user') 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 +# Maintainer: Síle Ekaterin Liszka +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" -- cgit v1.2.3-70-g09d2