summaryrefslogtreecommitdiff
path: root/user/perl-moox-late
diff options
context:
space:
mode:
Diffstat (limited to 'user/perl-moox-late')
-rw-r--r--user/perl-moox-late/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/user/perl-moox-late/APKBUILD b/user/perl-moox-late/APKBUILD
new file mode 100644
index 000000000..f9360c17f
--- /dev/null
+++ b/user/perl-moox-late/APKBUILD
@@ -0,0 +1,34 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
+pkgname=perl-moox-late
+pkgver=0.015
+pkgrel=0
+pkgdesc="Translate Moose code into Moo"
+url="https://metacpan.org/release/MooX-late"
+arch="noarch"
+license="Artistic-1.0-Perl"
+depends="perl-moo perl-type-tiny"
+makedepends="perl-dev"
+checkdepends="perl-test-fatal perl-test-requires"
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/T/TO/TOBYINK/MooX-late-$pkgver.tar.gz"
+builddir="$srcdir/MooX-late-$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="4d685f4e68abe10487a98def8f0e7b0bafbd9928af27e61a5ac410bcafa9833a4aebdc8cd5bdbebd1a6ee53b4b0d5ae9bfa3864cae428b21c926730365fefb6d MooX-late-0.015.tar.gz"