blob: eb12a274314c4f7386ad74a69f857e82246af756 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# Automatically generated by apkbuild-cpan, template 1
# Contributor: Francesco Colista <francesco.colista@gmail.com>
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=perl-moose
_pkgreal=Moose
pkgver=2.1213
pkgrel=1
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"
#cpanmakedepends=" perl-test-requires perl-test-fatal perl-cpan-meta-check "
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 test since the test suite introduces circular
# dependencies
# make test
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
md5sums="64f0b1141e0b11accc87d27af48640d6 Moose-2.1213.tar.gz"
sha256sums="0f3b196ae67dc1daaa43c44ae7703f27c4f92c391ad3e252a90e90c50c851e03 Moose-2.1213.tar.gz"
sha512sums="781795bed3c0254e8275b035029d4438cb743df46ba7782d1fb9dfef0d33c6a7128aa475f3d41e39da4f08fd409fe1a8bf76bdfe777770c7c96f08309dcc47fb Moose-2.1213.tar.gz"
|