# Contributor: Natanael Copa # Maintainer: Síle Ekaterin Liszka pkgname=perl-test-nowarnings _pkgreal=Test-NoWarnings _author=HAARG _au=${_author%%"${_author#??}"} _a=${_author%%"${_author#?}"} pkgver=1.06 pkgrel=0 pkgdesc="Perl module to ensure no warnings occur during testing" url="https://metacpan.org/release/Test-NoWarnings" arch="noarch" license="GPL-2.0-only OR Artistic-1.0-Perl" depends="perl-test-simple" 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 } sha512sums="e8ceef3d56942996107a20843fd75fb4353f7ec787029e0f43c2d64f57267f2cb5be3b07d6744d32d41770181ce1c712f50f57df7bdea141acca75897485d7af Test-NoWarnings-1.06.tar.gz"