# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-task-test-run-allplugins
_pkgreal=Task-Test-Run-AllPlugins
_author=SHLOMIF
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.0105
pkgrel=0
pkgdesc="Install all the Test::Run plugins"
url="https://metacpan.org/release/Task-Test-Run-AllPlugins"
arch="noarch"
license="MIT"
depends="perl perl-test-run perl-test-run-cmdline
	perl-test-run-plugin-alternateinterpreters
	perl-test-run-plugin-breakonfailure
	perl-test-run-plugin-colourfileverdicts
	perl-test-run-plugin-coloursummary
	perl-test-run-plugin-trimdisplayedfilenames"
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="5d2baa82658a3a80b07fd22d1ca2ccf7a1ff528685f8044fe5b152130957465d4bd1b032a2a02c966e7739d3b947b709bffabf96d74b77fe6c65479f6f09f964  Task-Test-Run-AllPlugins-0.0105.tar.gz"