summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-11-17 08:24:06 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-11-17 08:24:06 +0000
commitb13e2e79be20e92c59a79a1badcb2a48a9059c1f (patch)
tree9766d80695893a7bca828118f04ee78fbf85d574 /user
parent11ffe4266e0b12ab1f244dbe6f02f6f8b432c9b6 (diff)
downloadpackages-b13e2e79be20e92c59a79a1badcb2a48a9059c1f.tar.gz
packages-b13e2e79be20e92c59a79a1badcb2a48a9059c1f.tar.bz2
packages-b13e2e79be20e92c59a79a1badcb2a48a9059c1f.tar.xz
packages-b13e2e79be20e92c59a79a1badcb2a48a9059c1f.zip
user/perl-params-validationcompiler: new package
Diffstat (limited to 'user')
-rw-r--r--user/perl-params-validationcompiler/APKBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/user/perl-params-validationcompiler/APKBUILD b/user/perl-params-validationcompiler/APKBUILD
new file mode 100644
index 000000000..cb4c57f34
--- /dev/null
+++ b/user/perl-params-validationcompiler/APKBUILD
@@ -0,0 +1,36 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
+pkgname=perl-params-validationcompiler
+_pkgname=Params-ValidationCompiler
+pkgver=0.30
+pkgrel=0
+pkgdesc="Perl subroutine parameter validator compiler"
+url="https://metacpan.org/release/Params-ValidationCompiler"
+arch="noarch"
+options="!check" # many, many, many unpackaged test deps
+license="Artistic-2.0"
+depends="perl-class-xsaccessor perl-eval-closure perl-exception-class"
+checkdepends="perl-specio"
+makedepends="perl-dev"
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/Params-ValidationCompiler-$pkgver.tar.gz"
+builddir="$srcdir/Params-ValidationCompiler-$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="5911f9317f0b72e17c72435420a3b6b9f36780ab70715510c46e847970094e730169b9b3085f29cb23ee0aca2e78f7f9edd0d093859a1062869f35c90172bf05 Params-ValidationCompiler-0.30.tar.gz"