summaryrefslogtreecommitdiff
path: root/user/perl-mouse/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/perl-mouse/APKBUILD')
-rw-r--r--user/perl-mouse/APKBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/user/perl-mouse/APKBUILD b/user/perl-mouse/APKBUILD
new file mode 100644
index 000000000..d89d9c3b3
--- /dev/null
+++ b/user/perl-mouse/APKBUILD
@@ -0,0 +1,40 @@
+# Contributor: Dan Theisen <djt@hxx.in>
+# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
+pkgname=perl-mouse
+pkgver=2.5.6
+pkgrel=0
+pkgdesc="Moose minus the antlers"
+url="https://metacpan.org/pod/Mouse"
+arch="all"
+license="Artistic-1.0-Perl AND GPL-2.0"
+depends="perl"
+makedepends="perl-dev perl-module-build-xsutil"
+checkdepends="perl-test-exception perl-test-fatal perl-test-leaktrace perl-test-output perl-test-requires perl-try-tiny"
+install=""
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/S/SK/SKAJI/Mouse-v$pkgver.tar.gz"
+builddir="$srcdir/Mouse-v$pkgver"
+
+prepare() {
+ cd "$builddir"
+ perl Build.PL installdirs=vendor
+}
+
+build() {
+ cd "$builddir"
+ ./Build
+}
+
+check() {
+ # most, but not all functionality is tested
+ cd "$builddir"
+ ./Build test
+}
+
+package() {
+ cd "$builddir"
+ ./Build install destdir="$pkgdir"
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+sha512sums="1f29430badec842c1b3aa5a8a4c4ad785cf26d2e6cc745da82c0fa667b19da0b9e6c364e10ef615fbc03f60cb5020f079113b470162d095d8c514e6cb9ce96e3 Mouse-v2.5.6.tar.gz"