diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-10-02 01:56:03 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-10-02 01:59:11 +0000 |
commit | 6278f3688493d1d2a5b5405c570f3cb3315bb620 (patch) | |
tree | 33848444a073f1a2ca26215ed0543c1330f71bf4 /user/perl-test-run-plugin-cfv | |
parent | 8d6b93670e6fb761bb39663c6242fafd8a84c90c (diff) | |
download | packages-6278f3688493d1d2a5b5405c570f3cb3315bb620.tar.gz packages-6278f3688493d1d2a5b5405c570f3cb3315bb620.tar.bz2 packages-6278f3688493d1d2a5b5405c570f3cb3315bb620.tar.xz packages-6278f3688493d1d2a5b5405c570f3cb3315bb620.zip |
user/perl-test-run-plugin-colourfileverdicts: new package
Diffstat (limited to 'user/perl-test-run-plugin-cfv')
-rw-r--r-- | user/perl-test-run-plugin-cfv/APKBUILD | 34 |
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" |