blob: 7954acf250b8a1e6219c8605481f4760542a7eb1 (
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
43
44
45
46
|
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=perl-moose
_pkgreal=Moose
pkgver=2.2004
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="f1038784cb5427d4e67868eb87ca6fa1 Moose-2.2004.tar.gz"
sha256sums="e4c881bf8d8fd5821aea8a8c7c57ed850c2373d4800949798a55c06ca9e8d2b0 Moose-2.2004.tar.gz"
sha512sums="30db47b7416347e059b0a43ac4c95c253aac9391a999cb5a484a040b9ce9e33404ae89b34cd28e0cce35506cdfe3a576b91fc941c4dbbe601f4a7d97a01867e9 Moose-2.2004.tar.gz"
|