mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-20 01:26:38 +02:00
36 lines
1.1 KiB
Text
36 lines
1.1 KiB
Text
# Automatically generated by apkbuild-cpan, template 3
|
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=perl-params-validate
|
|
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
|
_pkgreal=Params-Validate
|
|
pkgver=1.31
|
|
pkgrel=3
|
|
pkgdesc="Validate method/function parameters"
|
|
url="https://metacpan.org/release/Params-Validate/"
|
|
arch="all"
|
|
license="Artistic-2.0"
|
|
depends="perl perl-module-implementation"
|
|
makedepends="perl-dev perl-module-build"
|
|
checkdepends="perl-test-requires perl-test-fatal"
|
|
subpackages="$pkgname-doc"
|
|
source="https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/Params-Validate-$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pkgreal-$pkgver"
|
|
|
|
build() {
|
|
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
|
perl Build.PL --installdirs=vendor
|
|
./Build
|
|
}
|
|
|
|
check() {
|
|
./Build test
|
|
}
|
|
|
|
package() {
|
|
./Build install --destdir="$pkgdir"
|
|
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
|
|
}
|
|
|
|
sha512sums="
|
|
8b20db8725df35b4dd9201dea764254d993cfa8a73b2ccebd7a9ba492cde36b589f66c26b287fe2f0ec1ebfafd53872cd164bee1727d1453265e030a927556d9 Params-Validate-1.31.tar.gz
|
|
"
|