summaryrefslogtreecommitdiff
path: root/user/perl-moox-late
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-10-01 19:18:43 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-10-01 19:18:43 +0000
commitc818bc83d2974e4e711398d112243931f31861b3 (patch)
tree7d780de4d22b4a20d97d80c5991ceffc51bd1c87 /user/perl-moox-late
parentd647956ee6ae4fda857fc4ebfc8ad116e77c4d74 (diff)
downloadpackages-c818bc83d2974e4e711398d112243931f31861b3.tar.gz
packages-c818bc83d2974e4e711398d112243931f31861b3.tar.bz2
packages-c818bc83d2974e4e711398d112243931f31861b3.tar.xz
packages-c818bc83d2974e4e711398d112243931f31861b3.zip
user/perl-moox-late: new package
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"