summaryrefslogblamecommitdiff
path: root/user/perl-test-run-plugin-cs/APKBUILD
blob: 4dff25604081e3452afa520b0d4d58c4895353ca (plain) (tree)
































                                                                                                                                                                                         
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-test-run-plugin-coloursummary
pkgver=0.0202
pkgrel=0
pkgdesc="Perl Test::Run plugin that colours test summary"
url="https://metacpan.org/release/Test-Run-Plugin-ColorSummary"
arch="noarch"
license="MIT"
depends="perl-moose perl-mro-compat perl-test-run perl-test-run-cmdline"
makedepends="perl-dev"
subpackages="$pkgname-doc"
provides="perl-test-run-plugin-colorsummary=$pkgver-r$pkgrel"
source="https://cpan.metacpan.org/authors/id/S/SH/SHLOMIF/Test-Run-Plugin-ColorSummary-$pkgver.tar.gz"
builddir="$srcdir/Test-Run-Plugin-ColorSummary-$pkgver"

build() {
	cd "$builddir"
	perl Build.PL installdirs=vendor
	./Build
}

check() {
	cd "$builddir"
	./Build test
}

package() {
	cd "$builddir"
	./Build install destdir="$pkgdir"
	find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}

sha512sums="c5ab0c50379a8527f613dd9663573a89f4be2336c51789fa11c9cd2ddb9a416fb60b63b8ce6bdd121b10fae3ecd2fa306f523f0c27e84bcd7b3e234882c1d7ef  Test-Run-Plugin-ColorSummary-0.0202.tar.gz"