summaryrefslogblamecommitdiff
path: root/user/perl-test-data-split/APKBUILD
blob: 7d55b11165f24e297d724695825607de916408ae (plain) (tree)
1
2
3
4
5
6
7

                                                                   


                               




                                                                
                                                                       
                                    
                                        
                          
                                                                                        
         



                                                                 


                 



                                                                                                                                                                           
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-test-data-split
_pkgreal=Test-Data-Split
_author=SHLOMIF
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
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 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="db6ae688318b6cd98cbbdf0c94e7a1d5ea52c96262d7ed5e1aea2a2380cfa851c468d8775c3cd5520f9e5e8bfdc67e367d66d0027f1452d208250c88f76bffae  Test-Data-Split-0.2.1.tar.gz"