aboutsummaryrefslogblamecommitdiffstats
path: root/main/perl-test2-suite/APKBUILD
blob: e53abe347dd616d0b3a430dfd015bee79729e70a (plain) (tree)
1
2
3
4
5
6
7
8
9




                                                           
               

                                                                               
                                              
             
                                               

                                                                         
                      
                      
                          
                                                                                     
 
                                    

           
                       



                                                                 



            
                 


           
                                      


                                                                           
                                                                                                                                                                          
# Automatically generated by apkbuild-cpan, template 1
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=perl-test2-suite
_pkgreal=Test2-Suite
pkgver=0.000129
pkgrel=0
pkgdesc="Distribution with a rich set of tools built upon the Test2 framework."
url="https://metacpan.org/release/Test2-Suite"
arch="noarch"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
cpandepends="perl-test-simple perl-importer perl-term-table perl-sub-info
	perl-scope-guard perl-module-pluggable"
depends="$cpandepends"
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/E/EX/EXODIST/Test2-Suite-$pkgver.tar.gz"

builddir="$srcdir/$_pkgreal-$pkgver"

prepare() {
	default_prepare
	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}

build() {
	make
}

check() {
	make test
}

package() {
	make DESTDIR="$pkgdir" install
	find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}

sha512sums="0d72ab6998f741ba016e1398a45b751930a016488b7b02117d476d6e8d6656a4de0f2ceae379260472d0eba7e8ca00e6bfa59240ee09c71ed9963be3dfd249da  Test2-Suite-0.000129.tar.gz"