# Contributor: A. Wilcox <awilfox@adelielinux.org> # Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house> pkgname=perl-test-most _pkgreal=Test-Most _author=OVID _au=${_author%%"${_author#??}"} _a=${_author%%"${_author#?}"} pkgver=0.37 pkgrel=0 pkgdesc="Most commonly needed Perl test functions and features" url="https://metacpan.org/release/Test-Most" arch="noarch" license="Artistic-1.0-Perl OR GPL-1.0+" depends="perl perl-exception-class perl-test-deep perl-test-differences perl-test-exception perl-test-warn" makedepends="perl-dev" 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="133dbb9815884fbecd65520dd2f2d43a761439c33f7d32ffdfc80ed3d3e05fb563dca420cf5445e61382735a048c467b35b5c160b1013b5f5c7616be00aa328d Test-Most-0.37.tar.gz"