summaryrefslogblamecommitdiff
path: root/system/perl-test-harness/APKBUILD
blob: c2602edb6cf0c15ebb9682d77ba06bbb20142047 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                                                           
                                                          

                         


                               
           

                                                        
                                               

                                           



                                                                                        

                                    
         
                                                                 



            



                 

                                                                           
                                  

 
                                                                                                                                                                       
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-test-harness
_pkgreal=Test-Harness
_author=LEONT
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=3.44
pkgrel=0
pkgdesc="Run Perl standard test scripts with statistics"
url="https://metacpan.org/release/Test-Harness"
arch="noarch"
license="GPL-2.0-only OR Artistic-1.0-Perl"
depends="perl"
makedepends=""
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
	rm "$pkgdir"/usr/bin/prove
}

sha512sums="908f0105bfa6c6e4578a4e08180d799d0ca7299c2206280fe64b9229fe3c05abdb000364d853a078f39f7d3129a8f91b7030976e1dfab726c6c6fd16e0970ef1  Test-Harness-3.44.tar.gz"