aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Legge <timlegge@gmail.com>2019-04-20 00:11:19 +0000
committerKevin Daudt <kdaudt@alpinelinux.org>2019-04-21 18:35:53 +0000
commitc2195cc7bff00dd5a281c2ab7f61ec53cd33ebcc (patch)
treef873595018929f953f15aea560b85078cbb0a314
parent50f4f54dbe3290a04b2dfba17a27b439b0d6ee97 (diff)
downloadaports-c2195cc7bff00dd5a281c2ab7f61ec53cd33ebcc.tar.bz2
aports-c2195cc7bff00dd5a281c2ab7f61ec53cd33ebcc.tar.xz
testing/perl-moosex-types: new aport
-rw-r--r--testing/perl-moosex-types/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/testing/perl-moosex-types/APKBUILD b/testing/perl-moosex-types/APKBUILD
new file mode 100644
index 0000000000..ed1773d7d9
--- /dev/null
+++ b/testing/perl-moosex-types/APKBUILD
@@ -0,0 +1,37 @@
+# Automatically generated by apkbuild-cpan, template 2
+# Contributor: Timothy Legge <timlegge@gmail.com>
+# Maintainer: Timothy Legge <timlegge@gmail.com>
+pkgname=perl-moosex-types
+_pkgreal=MooseX-Types
+pkgver=0.50
+pkgrel=0
+pkgdesc="Organise your Moose types in libraries"
+url="https://metacpan.org/release/MooseX-Types/"
+arch="noarch"
+license="GPL PerlArtistic"
+cpandepends="perl-carp-clan perl-sub-install perl-moose perl-sub-exporter-formethods
+ perl-namespace-autoclean perl-module-runtime perl-sub-name perl-sub-exporter"
+cpancheckdepends="perl-test-requires perl-moose perl-test-fatal"
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+checkdepends="$cpancheckdepends"
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/E/ET/ETHER/MooseX-Types-$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="42606b1caeb6423acaaa9288239c63512f398a2fba45492443d3e003c6ae3e93cbd8ea2631d487e428ea7d25b63744e4c2096a1e53012e262c99ff4b0c29484b MooseX-Types-0.50.tar.gz"