blob: 28e039e3ae23789be8cc84e3e6c569d7133be65e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# 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.30
pkgrel=1
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="ca6b54a55dc003be6933ad5a9353abf96f2decfc681354fabc974e9666b89b3afe8394cd0a13ec91a5f84c825cbc0b4697a4977bf773feabfefab57006c9f20e Params-Validate-1.30.tar.gz"
|