blob: 074d10f27c2ea1f34477047e9dbfbc8a2626c369 (
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
167
|
# Maintainer: Erich Eckner <arch at eckner dot net>
# Contributor:chimeracoder <dev@chimeracoder.net>
pkgname='perl-ppi'
pkgver=1.265
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-pathtools'
'perl-test-deep'
'perl-test-nowarnings'
'perl-test-object>=0.07'
'perl-test-simple>=0.88'
'perl-test-subcalls>=1.07')
depends=(
'perl>=5.6.0'
'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')
provides=(
'perl-ppi-cache=1.265'
'perl-ppi-document=1.265'
'perl-ppi-document-file=1.265'
'perl-ppi-document-fragment=1.265'
'perl-ppi-document-normalized=1.265'
'perl-ppi-dumper=1.265'
'perl-ppi-element=1.265'
'perl-ppi-exception=1.265'
'perl-ppi-exception-parserrejection=1.265'
'perl-ppi-find=1.265'
'perl-ppi-lexer=1.265'
'perl-ppi-node=1.265'
'perl-ppi-normal=1.265'
'perl-ppi-normal-standard=1.265'
'perl-ppi-singletons=1.265'
'perl-ppi-statement=1.265'
'perl-ppi-statement-break=1.265'
'perl-ppi-statement-compound=1.265'
'perl-ppi-statement-data=1.265'
'perl-ppi-statement-end=1.265'
'perl-ppi-statement-expression=1.265'
'perl-ppi-statement-given=1.265'
'perl-ppi-statement-include=1.265'
'perl-ppi-statement-include-perl6=1.265'
'perl-ppi-statement-null=1.265'
'perl-ppi-statement-package=1.265'
'perl-ppi-statement-scheduled=1.265'
'perl-ppi-statement-sub=1.265'
'perl-ppi-statement-unknown=1.265'
'perl-ppi-statement-unmatchedbrace=1.265'
'perl-ppi-statement-variable=1.265'
'perl-ppi-statement-when=1.265'
'perl-ppi-structure=1.265'
'perl-ppi-structure-block=1.265'
'perl-ppi-structure-condition=1.265'
'perl-ppi-structure-constructor=1.265'
'perl-ppi-structure-for=1.265'
'perl-ppi-structure-given=1.265'
'perl-ppi-structure-list=1.265'
'perl-ppi-structure-subscript=1.265'
'perl-ppi-structure-unknown=1.265'
'perl-ppi-structure-when=1.265'
'perl-ppi-token=1.265'
'perl-ppi-token-arrayindex=1.265'
'perl-ppi-token-attribute=1.265'
'perl-ppi-token-bom=1.265'
'perl-ppi-token-cast=1.265'
'perl-ppi-token-comment=1.265'
'perl-ppi-token-dashedword=1.265'
'perl-ppi-token-data=1.265'
'perl-ppi-token-end=1.265'
'perl-ppi-token-heredoc=1.265'
'perl-ppi-tokenizer=1.265'
'perl-ppi-token-label=1.265'
'perl-ppi-token-magic=1.265'
'perl-ppi-token-number=1.265'
'perl-ppi-token-number-binary=1.265'
'perl-ppi-token-number-exp=1.265'
'perl-ppi-token-number-float=1.265'
'perl-ppi-token-number-hex=1.265'
'perl-ppi-token-number-octal=1.265'
'perl-ppi-token-number-version=1.265'
'perl-ppi-token-operator=1.265'
'perl-ppi-token-pod=1.265'
'perl-ppi-token-prototype=1.265'
'perl-ppi-token-quote=1.265'
'perl-ppi-token-quote-double=1.265'
'perl-ppi-token-quote-interpolate=1.265'
'perl-ppi-token-quotelike=1.265'
'perl-ppi-token-quotelike-backtick=1.265'
'perl-ppi-token-quotelike-command=1.265'
'perl-ppi-token-quotelike-readline=1.265'
'perl-ppi-token-quotelike-regexp=1.265'
'perl-ppi-token-quotelike-words=1.265'
'perl-ppi-token-quote-literal=1.265'
'perl-ppi-token-quote-single=1.265'
'perl-ppi-token-regexp=1.265'
'perl-ppi-token-regexp-match=1.265'
'perl-ppi-token-regexp-substitute=1.265'
'perl-ppi-token-regexp-transliterate=1.265'
'perl-ppi-token-separator=1.265'
'perl-ppi-token-structure=1.265'
'perl-ppi-token-symbol=1.265'
'perl-ppi-token-unknown=1.265'
'perl-ppi-token-whitespace=1.265'
'perl-ppi-token-word=1.265'
'perl-ppi-transform=1.265'
'perl-ppi-transform-updatecopyright=1.265'
'perl-ppi-util=1.265'
'perl-ppi-xsaccessor=1.265')
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=('b99d060554f3d3e4d752141205a9415ec11b2964f1d45655bad5a2448152b8a5256b5d6f6604ebad0b6e9d4982ece724f310f04f900004dec9cab146ab3b3a3b')
_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:
|