blob: 8e59b9ab212b9a0b54b5e09b513d9655c369d7bd (
plain) (
tree)
|
|
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-test-data-split
_pkgreal=Test-Data-Split
_author=SHLOMIF
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.2.2
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 perl-io-all perl-list-moreutils perl-moox perl-moox-late"
checkdepends="perl-test-differences"
makedepends="perl-dev perl-module-build"
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="3a2b5f4717b525dcd081f1807aac684fe2ff9b02060e3a4726a2a98e1f86db7e16b8cb192fe46ae66a7739660fac6573cde549f68e6c5da2b4d3035da2203dd0 Test-Data-Split-0.2.2.tar.gz"
|