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

                        


                               
            




                                                      
                                                                   
                            
                      
                          
                                                                                        

                                    
         
                                                                 



            



                 



                                                                           
                                                                                                                                                                       
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-test-output
_pkgreal=Test-Output
_author=BDFOY
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=1.034
pkgrel=0
pkgdesc="Utilities to test STDOUT and STDERR messages"
url="https://metacpan.org/release/Test-Output"
arch="noarch"
license="Artistic-2.0"
depends="perl perl-capture-tiny perl-sub-exporter perl-test-simple"
checkdepends="perl-test-pod"
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="f7e6a121dbcaa6644b5128ba27c70894775bcb77e5c4abb3a2546d935cb1a99b3190230b2be76161377d0151665ec97303c48746b224d1b2301803e6082b0283  Test-Output-1.034.tar.gz"