aboutsummaryrefslogblamecommitdiffstats
path: root/main/perl-params-validationcompiler/APKBUILD
blob: 8b63d133b2245ab7cd9fa93633b7459ef6a19f99 (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                     
                                  
           
        
                                                
                                                            
             
                      
                                                                               

                                                                           
                      
                             
                          
                                                                                                   
 
                                    

         







                                                                 


           

                                      


                                                                           
                                                                                                                                                                                    
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=perl-params-validationcompiler
_pkgreal=Params-ValidationCompiler
pkgver=0.30
pkgrel=1
pkgdesc="Params::ValidationCompiler perl module"
url="https://metacpan.org/release/Params-ValidationCompiler"
arch="noarch"
license="Artistic-2.0"
depends="perl-specio perl-test2-suite perl-test-simple perl-test-without-module
	perl-eval-closure perl-exception-class perl-test2-plugin-nowarnings
	perl-role-tiny perl-mro-compat"
makedepends="perl-dev"
checkdepends="perl-type-tiny"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/Params-ValidationCompiler-$pkgver.tar.gz"

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

build() {
	cd "$builddir"
	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
	make
}

check() {
	cd "$builddir"
	make test
}

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

sha512sums="5911f9317f0b72e17c72435420a3b6b9f36780ab70715510c46e847970094e730169b9b3085f29cb23ee0aca2e78f7f9edd0d093859a1062869f35c90172bf05  Params-ValidationCompiler-0.30.tar.gz"