summaryrefslogtreecommitdiff
path: root/user/perl-moox-types-mooselike
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-11-17 23:38:44 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-11-17 23:38:44 +0000
commit339a26e134031c4d35d5bfb55274776a3492ee05 (patch)
treeec77ecd21b315833ee416b0f5424f6108161a438 /user/perl-moox-types-mooselike
parent6a031a3eec71bc504974f4c0de0b697f325f60a3 (diff)
downloadpackages-339a26e134031c4d35d5bfb55274776a3492ee05.tar.gz
packages-339a26e134031c4d35d5bfb55274776a3492ee05.tar.bz2
packages-339a26e134031c4d35d5bfb55274776a3492ee05.tar.xz
packages-339a26e134031c4d35d5bfb55274776a3492ee05.zip
user/perl-moox-types-mooselike: new package
Diffstat (limited to 'user/perl-moox-types-mooselike')
-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"