summaryrefslogtreecommitdiff
path: root/user/perl-test-run-plugin-cfv/APKBUILD
blob: 3fa80c7d227bd6c103140128ba326326caf7404b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-test-run-plugin-colourfileverdicts
pkgver=0.0124
pkgrel=0
pkgdesc="Make Perl Test::Run file verdicts (ok, not ok) colourful"
url="https://metacpan.org/release/Test-Run-Plugin-ColorFileVerdicts"
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-colorfileverdicts=$pkgver-r$pkgrel"
source="https://cpan.metacpan.org/authors/id/S/SH/SHLOMIF/Test-Run-Plugin-ColorFileVerdicts-$pkgver.tar.gz"
builddir="$srcdir/Test-Run-Plugin-ColorFileVerdicts-$pkgver"

build() {
	cd "$builddir"
	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
	make
}

check() {
	cd "$builddir"
	make test
}

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

sha512sums="405eb2e58b6c76fba3f5e0737e5816e8d4ef69d7fb3b7e81d8cfce10cd847d02339bc6802bb935009a27e5eb2ed16f8535280d7abb4ce5b6d1a26c9b2f99f117  Test-Run-Plugin-ColorFileVerdicts-0.0124.tar.gz"