diff options
Diffstat (limited to 'user')
-rw-r--r-- | user/perl-test-data-split/APKBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/user/perl-test-data-split/APKBUILD b/user/perl-test-data-split/APKBUILD new file mode 100644 index 000000000..0e5269e41 --- /dev/null +++ b/user/perl-test-data-split/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> +pkgname=perl-test-data-split +pkgver=0.2.1 +pkgrel=0 +pkgdesc="Split data-driven Perl tests into several test scripts" +url="https://metacpan.org/release/Test-Data-Split" +arch="noarch" +license="MIT" +depends="perl-io-all perl-list-moreutils perl-moox perl-moox-late" +makedepends="perl-dev perl-module-build" +checkdepends="perl-test-differences" +subpackages="$pkgname-doc" +source="https://cpan.metacpan.org/authors/id/S/SH/SHLOMIF/Test-Data-Split-$pkgver.tar.gz" +builddir="$srcdir/Test-Data-Split-$pkgver" + +build() { + cd "$builddir" + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd "$builddir" + make test +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +sha512sums="db6ae688318b6cd98cbbdf0c94e7a1d5ea52c96262d7ed5e1aea2a2380cfa851c468d8775c3cd5520f9e5e8bfdc67e367d66d0027f1452d208250c88f76bffae Test-Data-Split-0.2.1.tar.gz" |