blob: e5a0751e45f4c647af933d97dbc05b17bbc6d420 (
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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
|
# Maintainer: Erich Eckner <arch at eckner dot net>
# Contributor:chimeracoder <dev@chimeracoder.net>
pkgname='perl-ppi'
pkgver=1.270
pkgrel=1
pkgdesc="Parse, Analyze and Manipulate Perl (without perl)"
arch=('any')
license=('PerlArtistic' 'GPL')
options=('!emptydirs')
makedepends=(
'perl'
'perl-class-inspector>=1.22'
'perl-encode'
'perl-extutils-makemaker'
'perl-file-temp'
'perl-if'
'perl-lib'
'perl-test-deep'
'perl-test-nowarnings'
'perl-test-object>=0.07'
'perl-test-simple>=0.88'
'perl-test-subcalls>=1.07')
depends=(
'perl-carp'
'perl-clone>=0.30'
'perl-constant'
'perl-digest-md5>=2.35'
'perl-exporter'
'perl-file-path'
'perl-io-string>=1.07'
'perl-params-util>=1.00'
'perl-pathtools'
'perl-scalar-list-utils>=1.33'
'perl-storable>=2.17'
'perl-task-weaken'
'perl>=5.6.0')
provides=(
'perl-ppi-cache=1.270'
'perl-ppi-document-file=1.270'
'perl-ppi-document-fragment=1.270'
'perl-ppi-document-normalized=1.270'
'perl-ppi-document=1.270'
'perl-ppi-dumper=1.270'
'perl-ppi-element=1.270'
'perl-ppi-exception-parserrejection=1.270'
'perl-ppi-exception=1.270'
'perl-ppi-find=1.270'
'perl-ppi-lexer=1.270'
'perl-ppi-node=1.270'
'perl-ppi-normal-standard=1.270'
'perl-ppi-normal=1.270'
'perl-ppi-singletons=1.270'
'perl-ppi-statement-break=1.270'
'perl-ppi-statement-compound=1.270'
'perl-ppi-statement-data=1.270'
'perl-ppi-statement-end=1.270'
'perl-ppi-statement-expression=1.270'
'perl-ppi-statement-given=1.270'
'perl-ppi-statement-include-perl6=1.270'
'perl-ppi-statement-include=1.270'
'perl-ppi-statement-null=1.270'
'perl-ppi-statement-package=1.270'
'perl-ppi-statement-scheduled=1.270'
'perl-ppi-statement-sub=1.270'
'perl-ppi-statement-unknown=1.270'
'perl-ppi-statement-unmatchedbrace=1.270'
'perl-ppi-statement-variable=1.270'
'perl-ppi-statement-when=1.270'
'perl-ppi-statement=1.270'
'perl-ppi-structure-block=1.270'
'perl-ppi-structure-condition=1.270'
'perl-ppi-structure-constructor=1.270'
'perl-ppi-structure-for=1.270'
'perl-ppi-structure-given=1.270'
'perl-ppi-structure-list=1.270'
'perl-ppi-structure-subscript=1.270'
'perl-ppi-structure-unknown=1.270'
'perl-ppi-structure-when=1.270'
'perl-ppi-structure=1.270'
'perl-ppi-token-arrayindex=1.270'
'perl-ppi-token-attribute=1.270'
'perl-ppi-token-bom=1.270'
'perl-ppi-token-cast=1.270'
'perl-ppi-token-comment=1.270'
'perl-ppi-token-dashedword=1.270'
'perl-ppi-token-data=1.270'
'perl-ppi-token-end=1.270'
'perl-ppi-token-heredoc=1.270'
'perl-ppi-token-label=1.270'
'perl-ppi-token-magic=1.270'
'perl-ppi-token-number-binary=1.270'
'perl-ppi-token-number-exp=1.270'
'perl-ppi-token-number-float=1.270'
'perl-ppi-token-number-hex=1.270'
'perl-ppi-token-number-octal=1.270'
'perl-ppi-token-number-version=1.270'
'perl-ppi-token-number=1.270'
'perl-ppi-token-operator=1.270'
'perl-ppi-token-pod=1.270'
'perl-ppi-token-prototype=1.270'
'perl-ppi-token-quote-double=1.270'
'perl-ppi-token-quote-interpolate=1.270'
'perl-ppi-token-quote-literal=1.270'
'perl-ppi-token-quote-single=1.270'
'perl-ppi-token-quote=1.270'
'perl-ppi-token-quotelike-backtick=1.270'
'perl-ppi-token-quotelike-command=1.270'
'perl-ppi-token-quotelike-readline=1.270'
'perl-ppi-token-quotelike-regexp=1.270'
'perl-ppi-token-quotelike-words=1.270'
'perl-ppi-token-quotelike=1.270'
'perl-ppi-token-regexp-match=1.270'
'perl-ppi-token-regexp-substitute=1.270'
'perl-ppi-token-regexp-transliterate=1.270'
'perl-ppi-token-regexp=1.270'
'perl-ppi-token-separator=1.270'
'perl-ppi-token-structure=1.270'
'perl-ppi-token-symbol=1.270'
'perl-ppi-token-unknown=1.270'
'perl-ppi-token-whitespace=1.270'
'perl-ppi-token-word=1.270'
'perl-ppi-token=1.270'
'perl-ppi-tokenizer=1.270'
'perl-ppi-transform-updatecopyright=1.270'
'perl-ppi-transform=1.270'
'perl-ppi-util=1.270'
'perl-ppi-xsaccessor=1.270')
checkdepends=('perl-test-nowarnings>=0.084' 'perl-test-object>=0.07' 'perl-test-subcalls>=1.07')
url='http://search.mcpan.org/dist/PPI'
source=("http://search.mcpan.org/CPAN/authors/id/M/MI/MITHALDU/PPI-${pkgver}.tar.gz")
sha512sums=('d138db281c69fc8bbf53174df720e97633e7fd35bc77a24ceeb164277a69a5aff2629a66e7d898d62db270333c87f998eaac23a9eab7ede76dcfd43d2c546858')
_distdir="PPI-${pkgver}"
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 "$srcdir/$_distdir"
/usr/bin/perl Makefile.PL
make
)
}
check() {
cd "$srcdir/$_distdir"
( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
make test
)
}
package() {
cd "$srcdir/$_distdir"
make install
find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
}
# Local Variables:
# mode: shell-script
# sh-basic-offset: 2
# End:
# vim:set ts=2 sw=2 et:
|