aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Legge <timlegge@gmail.com>2019-04-21 21:32:26 +0000
committerKevin Daudt <kdaudt@alpinelinux.org>2019-04-22 19:51:33 +0000
commit027910f4a81e3b6c275963ec4d06110b7070c159 (patch)
tree2f42d61dec341685c81127ffe7a01837c41940e4
parent22e5bef521f5ae0492a8a9c5d57f2b0d21fbb6e1 (diff)
downloadaports-027910f4a81e3b6c275963ec4d06110b7070c159.tar.bz2
aports-027910f4a81e3b6c275963ec4d06110b7070c159.tar.xz
testing/perl-moosex-types-common: new aport
-rw-r--r--testing/perl-moosex-types-common/APKBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/testing/perl-moosex-types-common/APKBUILD b/testing/perl-moosex-types-common/APKBUILD
new file mode 100644
index 0000000000..19cbfbf66a
--- /dev/null
+++ b/testing/perl-moosex-types-common/APKBUILD
@@ -0,0 +1,36 @@
+# Automatically generated by apkbuild-cpan, template 2
+# Contributor: Timothy Legge <timlegge@gmail.com>
+# Maintainer: Timothy Legge <timlegge@gmail.com>
+pkgname=perl-moosex-types-common
+_pkgreal=MooseX-Types-Common
+pkgver=0.001014
+pkgrel=0
+pkgdesc="A library of commonly used type constraints"
+url="https://metacpan.org/release/MooseX-Types-Common/"
+arch="noarch"
+license="GPL-1.0-or-later Artistic-1.0-Perl"
+cpandepends="perl-moosex-types"
+cpancheckdepends="perl-test-deep perl-test-warnings"
+depends="$cpandepends"
+makedepends="perl-devel-overloadinfo perl-module-build-tiny perl-dev $cpanmakedepends"
+checkdepends="$cpancheckdepends"
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/E/ET/ETHER/MooseX-Types-Common-$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="631272d1de97ac2e83d096e6ee2a238f583cc48d4281c2efd9b99620fd1fabd3280b6dc950b51e61abd94c80b20be1e19a94be58de0f7d6209908ee03284c513 MooseX-Types-Common-0.001014.tar.gz"