aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/perl-params-validationcompiler/APKBUILD42
1 files changed, 42 insertions, 0 deletions
diff --git a/main/perl-params-validationcompiler/APKBUILD b/main/perl-params-validationcompiler/APKBUILD
new file mode 100644
index 0000000000..ee632a8760
--- /dev/null
+++ b/main/perl-params-validationcompiler/APKBUILD
@@ -0,0 +1,42 @@
+# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
+pkgname=perl-params-validationcompiler
+_pkgreal="Params-ValidationCompiler"
+pkgver=0.13
+pkgrel=0
+pkgdesc="Params::ValidationCompiler perl module"
+url="http://search.cpan.org/~drolsky/"
+arch="noarch"
+license="GPL or Artistic 2"
+depends="perl-specio perl-test2-suite perl-test-simple perl-test-without-module
+ perl-eval-closure perl-exception-class perl-test2-plugin-nowarnings"
+makedepends="perl-dev"
+install=""
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/Params-ValidationCompiler-$pkgver.tar.gz"
+
+_builddir="$srcdir"/$_pkgreal-$pkgver
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
+ make && make test || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+md5sums="e654da776110d5e821c43b2f30f03d68 Params-ValidationCompiler-0.13.tar.gz"
+sha256sums="c4326f6802ff0041b33b4546231ae64091623e8306f969c64a648d12ae8b7c03 Params-ValidationCompiler-0.13.tar.gz"
+sha512sums="483a586a96050f3cfc93445e3ad959d15d097f8543bf51dece0fc901ebd914a69d869a0b21f60458d38c6af7cb9f4b1ec6c9cf5b7e4045037088cd98bf92052d Params-ValidationCompiler-0.13.tar.gz"