summaryrefslogblamecommitdiff
path: root/user/perl-params-validate/APKBUILD
blob: 0cecdda67a2dcf5bf4728aef6678077a4652dd2a (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-validate
_pkgreal=Params-Validate
_author=DROLSKY
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=1.29
pkgrel=0
pkgdesc="Validate Perl method/function parameters"
url="https://metacpan.org/release/Params-Validate"
arch="all"
license="Artistic-2.0"
depends="perl-module-implementation"
makedepends="perl-dev perl-module-build"
checkdepends="perl-test-fatal perl-test-requires"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"

build() {
	perl Build.PL installdirs=vendor
	./Build
}

check() {
	./Build test
}

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

sha512sums="afa887d1ce60d38b82cbf3ad88fb892f473e0fa45db528b68e66bbb800058af453180cc96afddae56a2cdad8ec531a587e7aac36b6869c489caa6dd36a57a385  Params-Validate-1.29.tar.gz"