blob: 04b7025e68cef90a1a0b97bab55d4d9bc1321e3b (
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
|
# Maintainer: Michał Wojdyła < micwoj9292 at gmail dot com >
# Contributor: Thiago L. A. Miller <thiago_leisrael@hotmail.com>
# Contributor: John D Jones III AKA jnbek <jnbek1972 -_AT_- g m a i l -_Dot_- com>
_distname=Dist-Zilla
pkgname=perl-dist-zilla
pkgver=6.032
pkgrel=1
pkgdesc="distribution builder; installer not included!"
arch=('any')
url="https://metacpan.org/release/$_distname"
license=('PerlArtistic' 'GPL')
depends=('perl'
'perl-app-cmd'
'perl-cpan-meta-check'
'perl-cpan-uploader'
'perl-class-load'
'perl-config-ini'
'perl-config-mvp'
'perl-config-mvp-reader-ini'
'perl-data-section'
'perl-datetime'
'perl-file-copy-recursive'
'perl-file-find-rule'
'perl-file-sharedir'
'perl-file-sharedir-install'
'perl-file-pushd'
'perl-json-maybexs'
'perl-log-dispatchouli'
'perl-mixin-linewise'
'perl-module-runtime'
'perl-moose'
'perl-moosex-lazyrequire'
'perl-moosex-role-parameterized'
'perl-moosex-setonce'
'perl-moosex-types'
'perl-moosex-types-perl'
'perl-ppi'
'perl-params-util'
'perl-path-tiny'
'perl-perl-prereqscanner'
'perl-software-license'
'perl-string-formatter'
'perl-string-rewriteprefix'
'perl-sub-exporter'
'perl-sub-exporter-formethods'
'perl-term-encoding'
'perl-term-ui'
'perl-term-readkey'
'perl-text-glob'
'perl-text-template'
'perl-try-tiny'
'perl-yaml-tiny'
'perl-namespace-autoclean')
checkdepends=('perl-test-deep'
'perl-test-failwarnings'
'perl-test-fatal'
'perl-test-file-sharedir')
optdepends=('perl-archive-tar-wrapper: API wrapper around the tar utility'
'perl-data-optlist: Parse and validate simple name/value option pairs'
'perl-ppi-xs: Minor XS acceleration for PPI'
'perl-term-readline-gnu: GNU Readline XS library wrapper')
options=('!emptydirs')
source=("http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/$_distname-$pkgver.tar.gz")
md5sums=('54884dd4aeb045551e096c9623de0250')
build() {
( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
PERL_AUTOINSTALL=--skipdeps \
PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \
PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
MODULEBUILDRC=/dev/null
cd "$_distname-$pkgver"
/usr/bin/perl Makefile.PL
make
)
}
check() {
cd "$_distname-$pkgver"
( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
make test
)
}
package() {
cd "$_distname-$pkgver"
make install
find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
}
|