summaryrefslogtreecommitdiff
path: root/user/perl-test-run-plugin-cfv
diff options
context:
space:
mode:
Diffstat (limited to 'user/perl-test-run-plugin-cfv')
-rw-r--r--user/perl-test-run-plugin-cfv/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/user/perl-test-run-plugin-cfv/APKBUILD b/user/perl-test-run-plugin-cfv/APKBUILD
new file mode 100644
index 000000000..3fa80c7d2
--- /dev/null
+++ b/user/perl-test-run-plugin-cfv/APKBUILD
@@ -0,0 +1,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"