blob: 56f5f20923bf1578479f6cba13f7bfad76b89807 (
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
35
|
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-test-run-plugin-colourfileverdicts
_pkgreal=Test-Run-Plugin-ColorFileVerdicts
_author=SHLOMIF
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.0125
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 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/$_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="bd137a3c26737bb6868f3c7a37f6515d39b4809341b97ee3fc722380ed82a8d395ab24680ba7bec867efc92f594f667fb41af1cc94117a0bafe2fdb396dbc570 Test-Run-Plugin-ColorFileVerdicts-0.0125.tar.gz"
|