# Contributor: Francesco Colista # Maintainer: Síle Ekaterin Liszka 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"