aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-params-validationcompiler/APKBUILD
blob: 09fc0a6684b9795184f796a03d0f3da1a8d85e25 (plain)
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
35
36
37
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=perl-params-validationcompiler
_pkgreal="Params-ValidationCompiler"
pkgver=0.24
pkgrel=1
pkgdesc="Params::ValidationCompiler perl module"
url="http://search.cpan.org/~drolsky/"
arch="noarch"
license="GPL or 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="http://search.cpan.org/CPAN/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="ea54587db2729991fd7f9d8c9f420449e8d0218473f465783a69d4b118cdfe9e7d7ff045d57ba6d989a79950fb61ad81caac781b3bbaeb6325e061e664cc1665  Params-ValidationCompiler-0.24.tar.gz"