summaryrefslogblamecommitdiff
path: root/user/perl-test-run-cmdline/APKBUILD
blob: aa806f9211a7c568f769534fc63e1156adcf04e6 (plain) (tree)
1
2
3
4
5
6
7

                                                                   


                               




                                                                  
                                                         
                             
                      
                          
                                                                                        
         



                                                                 


                 



                                                                                                                                                                             
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-test-run-cmdline
_pkgreal=Test-Run-CmdLine
_author=SHLOMIF
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.0131
pkgrel=0
pkgdesc="Analyse tests from the command line using Perl Test::Run"
url="https://metacpan.org/release/Test-Run-CmdLine"
arch="noarch"
license="MIT"
depends="perl perl-moose perl-moosex-getopt perl-test-run
	perl-universal-require perl-yaml-libyaml"
checkdepends="perl-test-trap"
makedepends="perl-dev"
subpackages="$pkgname-doc"
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="b55ccae6a8cd453fa13083eabf63afa0f01eebe2c244cb5d4118b1be3ecab8077b77e03bef768254a84bd38b1cfb00e9f7053349696fd64fbc670ed43bd54357  Test-Run-CmdLine-0.0131.tar.gz"