From 25e35638657a449fe1b9948dbc481f4d1972e514 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Tue, 2 Oct 2018 02:11:15 +0000 Subject: user/perl-test-data-split: new package --- user/perl-test-data-split/APKBUILD | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 user/perl-test-data-split/APKBUILD 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 +# Maintainer: Adélie Perl Team +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" -- cgit v1.2.3-70-g09d2