blob: 616aea48a9b7e23f7a006670fc6c8e70434accd1 (
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
|
# Maintainer: Erich Eckner <arch at eckner dot net>
# Generator : neuesPerlPaket (ef0b8d9e9ed5e7aec93f3e72d031ac7ee7fb4246e042c09b06bbdcecfbc0e3c879d26484951ecde4eb4b299510817c6aead5d93f6a73544b768ed6467f4108fc)
pkgname='perl-ppix-regexp'
pkgver=0.086
pkgrel=1
pkgdesc='Parse regular expressions'
arch=('any')
license=('PerlArtistic' 'GPL')
options=('!emptydirs')
provides=(
'perl-ppix-regexp-constant=0.085_04'
'perl-ppix-regexp-constant-inf=0.086'
'perl-ppix-regexp-dumper=0.086'
'perl-ppix-regexp-element=0.086'
'perl-ppix-regexp-lexer=0.086'
'perl-ppix-regexp-node=0.086'
'perl-ppix-regexp-node-range=0.086'
'perl-ppix-regexp-node-unknown=0.086'
'perl-ppix-regexp-structure=0.086'
'perl-ppix-regexp-structure-assertion=0.086'
'perl-ppix-regexp-structure-atomic_script_run=0.086'
'perl-ppix-regexp-structure-branchreset=0.086'
'perl-ppix-regexp-structure-capture=0.086'
'perl-ppix-regexp-structure-charclass=0.086'
'perl-ppix-regexp-structure-code=0.086'
'perl-ppix-regexp-structure-main=0.086'
'perl-ppix-regexp-structure-modifier=0.086'
'perl-ppix-regexp-structure-namedcapture=0.086'
'perl-ppix-regexp-structure-quantifier=0.086'
'perl-ppix-regexp-structure-regexp=0.086'
'perl-ppix-regexp-structure-regexset=0.086'
'perl-ppix-regexp-structure-replacement=0.086'
'perl-ppix-regexp-structure-script_run=0.086'
'perl-ppix-regexp-structure-subexpression=0.086'
'perl-ppix-regexp-structure-switch=0.086'
'perl-ppix-regexp-structure-unknown=0.086'
'perl-ppix-regexp-support=0.086'
'perl-ppix-regexp-token=0.086'
'perl-ppix-regexp-token-assertion=0.086'
'perl-ppix-regexp-token-backreference=0.086'
'perl-ppix-regexp-token-backtrack=0.086'
'perl-ppix-regexp-token-charclass=0.086'
'perl-ppix-regexp-token-charclass-posix=0.086'
'perl-ppix-regexp-token-charclass-posix-unknown=0.086'
'perl-ppix-regexp-token-charclass-simple=0.086'
'perl-ppix-regexp-token-code=0.086'
'perl-ppix-regexp-token-comment=0.086'
'perl-ppix-regexp-token-condition=0.086'
'perl-ppix-regexp-token-control=0.086'
'perl-ppix-regexp-token-delimiter=0.086'
'perl-ppix-regexp-token-greediness=0.086'
'perl-ppix-regexp-token-grouptype=0.086'
'perl-ppix-regexp-token-grouptype-assertion=0.086'
'perl-ppix-regexp-token-grouptype-atomic_script_run=0.086'
'perl-ppix-regexp-token-grouptype-branchreset=0.086'
'perl-ppix-regexp-token-grouptype-code=0.086'
'perl-ppix-regexp-token-grouptype-modifier=0.086'
'perl-ppix-regexp-token-grouptype-namedcapture=0.086'
'perl-ppix-regexp-token-grouptype-script_run=0.086'
'perl-ppix-regexp-token-grouptype-subexpression=0.086'
'perl-ppix-regexp-token-grouptype-switch=0.086'
'perl-ppix-regexp-token-interpolation=0.086'
'perl-ppix-regexp-tokenizer=0.086'
'perl-ppix-regexp-token-literal=0.086'
'perl-ppix-regexp-token-modifier=0.086'
'perl-ppix-regexp-token-noop=0.086'
'perl-ppix-regexp-token-operator=0.086'
'perl-ppix-regexp-token-quantifier=0.086'
'perl-ppix-regexp-token-recursion=0.086'
'perl-ppix-regexp-token-reference=0.086'
'perl-ppix-regexp-token-structure=0.086'
'perl-ppix-regexp-token-unknown=0.086'
'perl-ppix-regexp-token-unmatched=0.086'
'perl-ppix-regexp-token-whitespace=0.086'
'perl-ppix-regexp-util=0.086')
depends=(
'perl>=5.36'
'perl<5.37'
'perl-base'
'perl-carp'
'perl-constant'
'perl-encode'
'perl-exporter'
'perl-ppi>=1.238'
'perl-scalar-list-utils'
'perl-task-weaken')
makedepends=(
'perl-lib'
'perl-module-build>=0.42'
'perl-test-simple>=0.88')
url='https://metacpan.org/release/PPIx-Regexp'
_distdir="PPIx-Regexp-${pkgver}"
source=("https://cpan.metacpan.org/authors/id/W/WY/WYANT/${_distdir}.tar.gz")
sha512sums=('e9bab0c4ce3021ae14d54fc255a834ec8874aea095db5df4fa60dac7d66b7aa582400fb6d2ed61cb48c6660322f024a03f711f271997ffb536d41ccc37774520')
build() {
cd "${srcdir}/${_distdir}"
# Setting these env variables overwrites any command-line-options we don't want...
export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps \
PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='${pkgdir}'" \
PERL_MB_OPT="--installdirs vendor --destdir '${pkgdir}'" \
MODULEBUILDRC=/dev/null
# If using Makefile.PL
if [ -r Makefile.PL ]; then
perl Makefile.PL
make
# If using Build.PL
elif [ -r Build.PL ]; then
perl Build.PL
perl Build
fi
}
check() {
cd "${srcdir}/${_distdir}"
# If using Makefile.PL
if [ -r Makefile.PL ]; then
make test
# If using Build.PL
elif [ -r Build.PL ]; then
perl Build test
fi
}
package() {
cd "${srcdir}/${_distdir}"
# If using Makefile.PL
if [ -r Makefile.PL ]; then
make install
# If using Build.PL
elif [ -r Build.PL ]; then
perl Build install
fi
# remove perllocal.pod and .packlist
find "${pkgdir}" -name .packlist -o -name perllocal.pod -delete
}
|