diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2022-06-11 21:36:28 -0500 |
---|---|---|
committer | Zach van Rijn <me@zv.io> | 2022-06-12 23:51:55 +0000 |
commit | 96c8bf404e2e92b4f73a5476f5f0890caa48b6bc (patch) | |
tree | 3c5bb2b4c5ba9fc29a00f41867170a077b889e55 /user | |
parent | ef7ee9d2a2d3edcc071596e6bd86868446175e22 (diff) | |
download | packages-96c8bf404e2e92b4f73a5476f5f0890caa48b6bc.tar.gz packages-96c8bf404e2e92b4f73a5476f5f0890caa48b6bc.tar.bz2 packages-96c8bf404e2e92b4f73a5476f5f0890caa48b6bc.tar.xz packages-96c8bf404e2e92b4f73a5476f5f0890caa48b6bc.zip |
user/perl-test-some: New package
Diffstat (limited to 'user')
-rw-r--r-- | user/perl-test-some/APKBUILD | 35 |
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" |