summaryrefslogblamecommitdiff
path: root/user/perl-params-validationcompiler/APKBUILD
blob: 7ec16a1fe6fb69cda1580dc6ddda1590899f787a (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-params-validationcompiler
_pkgreal=Params-ValidationCompiler
_author=DROLSKY
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.30
pkgrel=0
pkgdesc="Perl subroutine parameter validator compiler"
url="https://metacpan.org/release/Params-ValidationCompiler"
arch="noarch"
options="!check"  # many, many, many unpackaged test deps
license="Artistic-2.0"
depends="perl perl-class-xsaccessor perl-eval-closure perl-exception-class"
checkdepends="perl-specio"
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="5911f9317f0b72e17c72435420a3b6b9f36780ab70715510c46e847970094e730169b9b3085f29cb23ee0aca2e78f7f9edd0d093859a1062869f35c90172bf05  Params-ValidationCompiler-0.30.tar.gz"