aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Legge <timlegge@gmail.com>2020-08-19 20:08:50 +0000
committerLeo <thinkabit.ukim@gmail.com>2020-09-21 23:36:18 +0000
commit4e640a4f34fa943667f6655c718ddf1ed009c02d (patch)
tree35230d3d93a232760c131c2a03638b0f3cfa55c5
parent0aee22c6cf6a873d032132975a6574030bb8abe4 (diff)
downloadaports-4e640a4f34fa943667f6655c718ddf1ed009c02d.tar.gz
aports-4e640a4f34fa943667f6655c718ddf1ed009c02d.tar.bz2
aports-4e640a4f34fa943667f6655c718ddf1ed009c02d.tar.xz
testing/perl-mouse: new aport
-rw-r--r--testing/perl-mouse/APKBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/testing/perl-mouse/APKBUILD b/testing/perl-mouse/APKBUILD
new file mode 100644
index 0000000000..1f621ae7e1
--- /dev/null
+++ b/testing/perl-mouse/APKBUILD
@@ -0,0 +1,36 @@
+# Automatically generated by apkbuild-cpan, template 3
+# Contributor: Timothy Legge <timlegge@gmail.com>
+# Maintainer: Timothy Legge <timlegge@gmail.com>
+pkgname=perl-mouse
+#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
+_pkgreal=Mouse
+pkgver=2.5.10
+pkgrel=0
+pkgdesc="Perl module for Mouse"
+url="https://metacpan.org/release/Mouse/"
+arch="all"
+license="GPL-1.0-or-later OR Artistic-1.0-Perl"
+depends="perl perl-module-build perl-module-build-xsutil"
+makedepends="perl-dev"
+checkdepends="perl-regexp-common perl-moose perl-path-class perl-test-leaktrace
+ perl-test-requires perl-pod-coverage perl-test-exception perl-test-output"
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/S/SK/SKAJI/Mouse-v2.5.10.tar.gz"
+builddir="$srcdir/$_pkgreal-v$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="949a2f18257a5afcf4dbbb84094974f4d80e1e4531b4b9d8618cf141252fd11b09b79daafe1de79faa620905988f649627bc2fceac357ea2f180db74cd48f711 Mouse-v2.5.10.tar.gz"