# Maintainer: Leonardo Arena pkgname=perl-test2-plugin-nowarnings _pkgreal="Test2-Plugin-NoWarnings" pkgver=0.09 pkgrel=2 pkgdesc="Test2::Plugin::NoWarnings perl module" url="https://metacpan.org/release/Test2-Plugin-NoWarnings" arch="noarch" license="Artistic-2.0" depends="perl perl-ipc-run3 perl-test2-suite perl-test-simple" checkdepends="perl-capture-tiny" subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/$_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="3b93d6c4522e913c4bc9d589b650f784327bed1a36a0dc18943dd2ea34654215333753cb532d5ffff6f0ef0af9ce0859e9744637cff89a1a1a5b936149f9b455 Test2-Plugin-NoWarnings-0.09.tar.gz"