summaryrefslogtreecommitdiff
path: root/user/perl-moox
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-10-01 19:10:44 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-10-01 19:10:44 +0000
commitaa57141c84257e2c5194af5e462e3618e9c37dd4 (patch)
treebe56e217e8ad2f45c62c86161964a474d9149916 /user/perl-moox
parent026b8c9ab7373bc9a1eb90025d4e59822f7bb90d (diff)
downloadpackages-aa57141c84257e2c5194af5e462e3618e9c37dd4.tar.gz
packages-aa57141c84257e2c5194af5e462e3618e9c37dd4.tar.bz2
packages-aa57141c84257e2c5194af5e462e3618e9c37dd4.tar.xz
packages-aa57141c84257e2c5194af5e462e3618e9c37dd4.zip
user/perl-moox: new package
Diffstat (limited to 'user/perl-moox')
-rw-r--r--user/perl-moox/APKBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/user/perl-moox/APKBUILD b/user/perl-moox/APKBUILD
new file mode 100644
index 000000000..73cb7d290
--- /dev/null
+++ b/user/perl-moox/APKBUILD
@@ -0,0 +1,33 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
+pkgname=perl-moox
+pkgver=0.101
+pkgrel=0
+pkgdesc="Perl module for using Moo and MooX:: lazily"
+url="https://metacpan.org/release/MooX"
+arch="noarch"
+license="Artistic-1.0-Perl"
+depends="perl-data-optlist perl-import-into perl-module-runtime perl-moo"
+makedepends="perl-dev"
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/G/GE/GETTY/MooX-$pkgver.tar.gz"
+builddir="$srcdir/MooX-$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="4ba77d472c3ffab5ff600c20bd2d2b51614db9d5488fad7d8a51ee6249505519220a00437192d0c7132cbf6898bf1ff314d5c28132abbcfeb4be17d131ad7778 MooX-0.101.tar.gz"