summaryrefslogtreecommitdiff
path: root/user/perl-mouse
diff options
context:
space:
mode:
authorDan Theisen <djt@hxx.in>2018-09-25 19:46:12 -0700
committerDan Theisen <djt@hxx.in>2018-09-25 19:46:12 -0700
commit0e41fac66326be65c27fd9285d0eb3bbb315e096 (patch)
tree543187f522f6e20e79b8225befdb071634e7d920 /user/perl-mouse
parent40fcbc3d90ad94dd9f5ca7344459727156386e35 (diff)
downloadpackages-0e41fac66326be65c27fd9285d0eb3bbb315e096.tar.gz
packages-0e41fac66326be65c27fd9285d0eb3bbb315e096.tar.bz2
packages-0e41fac66326be65c27fd9285d0eb3bbb315e096.tar.xz
packages-0e41fac66326be65c27fd9285d0eb3bbb315e096.zip
user/perl-mouse: new package
Diffstat (limited to 'user/perl-mouse')
-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"