summaryrefslogblamecommitdiff
path: root/user/perl-test-run-plugin-cfv/APKBUILD
blob: 56f5f20923bf1578479f6cba13f7bfad76b89807 (plain) (tree)
1
2
3
4
5
6
7
8
                                                  
                                                          
                                               


                                          
             



                                                                    
                                                                             
                                                                  
                                                                                        
         



                                                                 


                 


                                                                           
                                                                                                                                                                                              
# 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"