summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
Diffstat (limited to 'user')
-rw-r--r--user/perl-moox-types-mooselike/APKBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/user/perl-moox-types-mooselike/APKBUILD b/user/perl-moox-types-mooselike/APKBUILD
new file mode 100644
index 000000000..4a8989583
--- /dev/null
+++ b/user/perl-moox-types-mooselike/APKBUILD
@@ -0,0 +1,35 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
+pkgname=perl-moox-types-mooselike
+_pkgname=MooX-Types-MooseLike
+pkgver=0.29
+pkgrel=0
+pkgdesc="Moose-like types for Perl Moo"
+url="https://metacpan.org/release/MooX-Types-MooseLike"
+arch="noarch"
+license="Artistic-1.0-Perl OR GPL-2.0-only"
+depends="perl-module-runtime perl-moo"
+checkdepends="perl-test-fatal"
+makedepends="perl-dev"
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/M/MA/MATEU/MooX-Types-MooseLike-$pkgver.tar.gz"
+builddir="$srcdir/MooX-Types-MooseLike-$pkgver"
+
+build() {
+ cd "$builddir"
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+check() {
+ cd "$builddir"
+ make test
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+sha512sums="69ddd0d663d1ea23dfc7e47ec35192f1951f195f70f788bac47cc93e98d9e888394c07fc39f1740b7c1fd04f8724f2b0dfa14183fe33bceb9f77c1f1d1b8752e MooX-Types-MooseLike-0.29.tar.gz"