diff options
Diffstat (limited to 'user/perl-test-some/APKBUILD')
-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" |