summaryrefslogblamecommitdiff
path: root/user/perl-test-run-plugin-ai/APKBUILD
blob: 86a9a6c44164ed75c18a6989ed172cb4dc3ccdc8 (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-alternateinterpreters
_pkgreal=Test-Run-Plugin-AlternateInterpreters
_author=SHLOMIF
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.0125
pkgrel=0
pkgdesc="Define different interpreters for test scripts with Perl Test::Run"
url="https://metacpan.org/release/Test-Run-Plugin-AlternateInterpreters"
arch="noarch"
license="MIT"
depends="perl perl-moose perl-mro-compat perl-test-run perl-test-run-cmdline"
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="28dc11c21da981ecda40c6cce613a8d1263631f19dcdb6a6527428dcc7d6b145fa2bda6947bad69dc03f61d5348147d8a49bb4a351b6b9b05850bb08bf1f9c4d  Test-Run-Plugin-AlternateInterpreters-0.0125.tar.gz"