aboutsummaryrefslogtreecommitdiffstats
path: root/community/perl-moose/APKBUILD
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2016-08-19 09:18:46 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2016-08-19 11:24:37 +0000
commit9deae2b5e4b12918c3c3673c160601d804ed05b2 (patch)
treeae0e9ecedf70ac6151887c345dd82a16a163aad7 /community/perl-moose/APKBUILD
parent16d09bba26f28d2921bd12e9b5d46d7c0f06bba2 (diff)
downloadaports-9deae2b5e4b12918c3c3673c160601d804ed05b2.tar.bz2
aports-9deae2b5e4b12918c3c3673c160601d804ed05b2.tar.xz
community/perl-moose: moved from testing
Diffstat (limited to 'community/perl-moose/APKBUILD')
-rw-r--r--community/perl-moose/APKBUILD46
1 files changed, 46 insertions, 0 deletions
diff --git a/community/perl-moose/APKBUILD b/community/perl-moose/APKBUILD
new file mode 100644
index 0000000000..40c0331170
--- /dev/null
+++ b/community/perl-moose/APKBUILD
@@ -0,0 +1,46 @@
+# Contributor: Francesco Colista <francesco.colista@gmail.com>
+# Maintainer: Francesco Colista <francesco.colista@gmail.com>
+pkgname=perl-moose
+_pkgreal=Moose
+pkgver=2.1804
+pkgrel=0
+pkgdesc="A postmodern object system for Perl 5"
+url="http://search.cpan.org/dist/Moose/"
+arch="all"
+license="GPL PerlArtistic"
+cpandepends="perl-task-weaken perl-package-stash perl-class-load-xs
+ perl-module-runtime perl-dist-checkconflicts perl-package-stash-xs
+ perl-package-deprecationmanager perl-sub-exporter perl-params-util
+ perl-devel-stacktrace perl-sub-name perl-module-runtime-conflicts
+ perl-class-load perl-eval-closure perl-list-moreutils perl-try-tiny
+ perl-data-optlist perl-devel-globaldestruction perl-mro-compat"
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/Moose-$pkgver.tar.gz"
+
+_builddir="$srcdir/$_pkgreal-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+}
+
+build() {
+ cd "$_builddir"
+ make || return 1
+
+ # we cannot run 'make test' since the test
+ # suite would introduce circular dependencies.
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+
+md5sums="9e755f8f08892184c5a3cde086e9a199 Moose-2.1804.tar.gz"
+sha256sums="4d4ef9460a3bb82e4f84b0fe429c68552388b0fe8c03c680f50e2f8c7d53f4b3 Moose-2.1804.tar.gz"
+sha512sums="49ddec137f90fffaf74170a61c56358d2f54fdfa743a33930fb1ef13a21cc366e877947569fb150914346f9b5b9edc19aa9e914ec5bb28f7cf6295c0e2eeac09 Moose-2.1804.tar.gz"