summaryrefslogtreecommitdiff
path: root/user/perl-moose
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-10-01 22:27:03 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-10-01 22:27:03 +0000
commita177620044d694e8a9d65599263980dcc6b94bff (patch)
tree9f54ac4a48989fe9030c12760ea1017815232ffa /user/perl-moose
parent6f0e550c71828ae864440fc224cc635726cb9537 (diff)
downloadpackages-a177620044d694e8a9d65599263980dcc6b94bff.tar.gz
packages-a177620044d694e8a9d65599263980dcc6b94bff.tar.bz2
packages-a177620044d694e8a9d65599263980dcc6b94bff.tar.xz
packages-a177620044d694e8a9d65599263980dcc6b94bff.zip
user/perl-moose: new package
Diffstat (limited to 'user/perl-moose')
-rw-r--r--user/perl-moose/APKBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/user/perl-moose/APKBUILD b/user/perl-moose/APKBUILD
new file mode 100644
index 000000000..74ebadf6b
--- /dev/null
+++ b/user/perl-moose/APKBUILD
@@ -0,0 +1,40 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
+pkgname=perl-moose
+pkgver=2.2011
+pkgrel=0
+pkgdesc="A postmodern object system for Perl 5"
+url="https://metacpan.org/release/Moose"
+arch="all"
+license="Artistic-1.0-Perl"
+depends="perl-class-load perl-class-load-xs perl-data-optlist
+ perl-devel-globaldestruction perl-devel-overloadinfo
+ perl-devel-stacktrace perl-eval-closure perl-module-runtime
+ perl-module-runtime-conflicts perl-mro-compat
+ perl-package-deprecationmanager perl-params-util perl-sub-exporter
+ perl-sub-identify perl-sub-name perl-try-tiny"
+makedepends="perl-dev"
+checkdepends="perl-cpan-meta-check perl-dist-checkconflicts
+ perl-test-cleannamespaces perl-test-fatal perl-test-requires"
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/E/ET/ETHER/Moose-$pkgver.tar.gz"
+builddir="$srcdir/Moose-$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="f94ed23c45a860b9afa8defe7f5067a65fdd9d457d94a85e4ea192640d09ad73bc336a2e54c4c663643ec0efa32872f4b2aa69083e99093e420cecf5430f34a3 Moose-2.2011.tar.gz"