blob: 2a96b334e1657d582a451217f24aa00679148a81 (
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
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
|
# Maintainer: not_anonymous <nmlibertarian@gmail.com>
# Contributor: Piotr Rogoza <rogoza dot piotr at gmail dot com>
# Contributor: Andreas Wallberg "korpenkraxar" andreas.wallberg at gmail.cöm
# Contributor: Christian Sturm <reezer@reezer.org>
# Contributor: David Trail <napalm (eval (add 5 5]) @ gmail . com<
# Contributor: Justin Davis <jrcd83@gmail.com>
# Contributor: Dzmitry Kotsikau "dk_gm" <dkotsikau@gmail.com>
_perlmod=Padre
_author='P/PL/PLAVEN'
pkgname=perl-padre
pkgver=1.00
pkgrel=5
pkgdesc="Perl made IDE, highly customisable"
#url='http://padre.perlide.org/'
url='http://search.cpan.org/dist/Padre/'
arch=(any)
license=('GPL' 'PerlArtistic')
makedepends=(
'perl>=5.11'
'perl-module-starter>=1.60'
'perl-locale-msgfmt>=0.15'
'perl-wx>0.9916'
# 'perl-extutils-makemaker>=6.52' → perl
# 'perl-extutils-embed>=1.250601' → perl
# configure_requires
# perl-extutils-makemaker → perl
# perl-extutils-embed → perl
'perl-alien-wxwidgets>=0.46'
)
checkdepends=(
# perl-test-more → perl
# Ticket #1419: Padre and the soon to be Perl 5.16
'perl-test-warn>=0.24'
'perl-test-mockobject>=1.09'
'perl-test-script>=1.07'
'perl-test-exception>=0.27'
'perl-test-nowarnings>=1.04'
perl-io-socket-ip
)
depends=(
perl-test-most
perl-file-copy-recursive
'perl>=5.11'
'perl-algorithm-diff>=1.19'
# perl-app-cpanminus → cpanminus
'cpanminus>=0.9923'
# perl-b-deparse → perl
'perl-capture-tiny>=0.06'
# perl-cgi → perl
'perl-class-adapter>=1.05'
'perl-class-inspector>=1.22'
'perl-class-xsaccessor>=1.13'
# perl-cwd → perl
# perl-data-dumper → perl
'perl-dbd-sqlite>=1.35'
'perl-dbi>=1.58'
'perl-debug-client>=0.29'
'perl-devel-dumpvar>=0.04'
'perl-devel-refactor>=0.05'
# perl-encode → perl
# perl-extutils-makemaker → perl
# perl-extutils-manifest → perl
# perl-file-basename → perl
# perl-file-glob → perl
perl-extutils-makemaker # → 'perl-file-copy-recursive>=0.37'
'perl-file-find-rule>=0.30'
'perl-file-homedir>=0.91'
# perl-file-path → perl
'perl-file-remove>=1.40'
'perl-file-sharedir>=1.00'
# perl-file-spec → perl
# perl-file-spec-functions → perl
# perl-file-temp → perl
'perl-file-which>=1.08'
'perl-file-pushd>=1.00'
# perl-findbin → perl
# perl-getopt-long → perl
# perl-html-entities → perl-html-parser
'perl-html-parser>=3.58'
# perl-io-socket → perl
'perl-io-string>=1.08'
'perl-ipc-run>=0.83'
# perl-ipc-open2 → perl
# perl-ipc-open3 → perl
'perl-json-xs>=2.29'
# perl-list-util → perl
'perl-list-moreutils>=0.22'
# perl-lwp → perl-libwww
# perl-lwp-useragent → perl-libwww
'perl-libwww>=5.815'
'perl-module-build>=0.4210'
# perl-module-corelist → perl
'perl-module-manifest>=0.07'
perl-module-starter
'perl-orlite>=1.98'
'perl-orlite-migrate>=1.10'
'perl-params-util>=0.33'
'perl-parse-errorstring-perl>=0.18'
'perl-parse-exuberantctags>=1.00'
# perl-pod-functions → perl
'perl-pod-pom>=0.17'
# perl-pod-simple → perl
# perl-pod-simple-xhtml → perl
'perl-pod-abstract>=0.16'
'perl-pod-perldoc>=3.15'
'perl-pod2-base>=0.043'
# perl-posix → perl
'perl-ppi>=1.215'
'perl-ppix-editortools>=0.18'
'perl-ppix-regexp>=0.011'
'perl-probe-perl>=0.01'
# perl-storable → perl
'perl-sort-versions>=1.5'
'perl-template-tiny>=0.11'
# perl-term-readline → perl
# perl-text-balanced → perl
'perl-text-diff>=1.41'
'perl-text-findindent>=0.10'
# perl-time-hires → perl
'perl-text-patch>=1.8'
# perl-threads → perl
# perl-threads-shared → perl
'perl-uri>=0.80'
# perl-version → perl`
'perl-wx>0.9916'
'perl-wx-perl-processstream>=0.32'
'perl-wx-scintilla>=0.39'
'perl-yaml-tiny>=1.32'
# Special dependencies
# In the Padre.ppd file we need to list IO-stringy instead
# perl-io-scalar → perl-io-stringy
'perl-io-stringy>=2.110'
# hicolor-icon-theme → but already satisfied
)
provides=(
padre
perl-padre-autosave
perl-padre-breakpoints
perl-padre-browser
perl-padre-browser-document
perl-padre-browser-pod
perl-padre-browser-pseudoperldoc
perl-padre-cpan
perl-padre-cache
perl-padre-command
perl-padre-comment
perl-padre-config
perl-padre-config-apply
perl-padre-config-host
perl-padre-config-human
perl-padre-config-patch
perl-padre-config-project
perl-padre-config-setting
perl-padre-constant
perl-padre-current
perl-padre-db
perl-padre-db-bookmark
perl-padre-db-history
perl-padre-db-hostconfig
perl-padre-db-lastpositioninfile
perl-padre-db-recentlyused
perl-padre-db-session
perl-padre-db-sessionfile
perl-padre-db-timeline
perl-padre-delta
perl-padre-desktop
perl-padre-document
perl-padre-document-csharp
perl-padre-document-csharp-functionlist
perl-padre-document-java
perl-padre-document-java-functionlist
perl-padre-document-patch
perl-padre-document-perl
perl-padre-document-perl-autocomplete
perl-padre-document-perl-beginner
perl-padre-document-perl-functionlist
perl-padre-document-perl-help
perl-padre-document-perl-lexer
perl-padre-document-perl-outline
perl-padre-document-perl-ppilexer
perl-padre-document-perl-quickfix
perl-padre-document-perl-quickfix-includemodule
perl-padre-document-perl-quickfix-strictwarnings
perl-padre-document-perl-starter
perl-padre-document-perl-starter-style
perl-padre-document-perl-syntax
perl-padre-document-python
perl-padre-document-python-functionlist
perl-padre-document-ruby
perl-padre-document-ruby-functionlist
perl-padre-feature
perl-padre-file
perl-padre-file-ftp
perl-padre-file-http
perl-padre-file-local
perl-padre-help
perl-padre-locale
perl-padre-locale-format
perl-padre-locale-t
perl-padre-lock
perl-padre-locker
perl-padre-logger
perl-padre-mime
perl-padre-ppi
perl-padre-ppi-endifypod
perl-padre-ppi-transform
perl-padre-ppi-updatecopyright
perl-padre-perl
perl-padre-plugin
perl-padre-plugin-devel
perl-padre-plugin-my
perl-padre-plugin-popularitycontest
perl-padre-plugin-popularitycontest-ping
perl-padre-pluginbuilder
perl-padre-pluginhandle
perl-padre-pluginmanager
perl-padre-pod2html
perl-padre-portable
perl-padre-project
perl-padre-project-null
perl-padre-project-perl
perl-padre-project-perl-dz
perl-padre-project-perl-eumm
perl-padre-project-perl-mb
perl-padre-project-perl-mi
perl-padre-project-perl-temp
perl-padre-project-temp
perl-padre-projectmanager
perl-padre-quickfix
perl-padre-role-pubsub
perl-padre-role-task
perl-padre-sloc
perl-padre-svn
perl-padre-search
perl-padre-servermanager
perl-padre-startup
perl-padre-sync
perl-padre-task
perl-padre-task-addition
perl-padre-task-backupunsaved
perl-padre-task-browser
perl-padre-task-cpan
perl-padre-task-diff
perl-padre-task-eval
perl-padre-task-file
perl-padre-task-findinfiles
perl-padre-task-findunmatchedbrace
perl-padre-task-findvariabledeclaration
perl-padre-task-functionlist
perl-padre-task-introducetemporaryvariable
perl-padre-task-lwp
perl-padre-task-launchdefaultbrowser
perl-padre-task-lexicalreplacevariable
perl-padre-task-openresource
perl-padre-task-outline
perl-padre-task-ppi
perl-padre-task-pod2html
perl-padre-task-recentfiles
perl-padre-task-replaceinfiles
perl-padre-task-run
perl-padre-task-sloc
perl-padre-task-syntax
perl-padre-task-transform
perl-padre-task-vcs
perl-padre-taskhandle
perl-padre-taskmanager
perl-padre-taskqueue
perl-padre-taskworker
perl-padre-template
perl-padre-test
perl-padre-transform
perl-padre-unload
perl-padre-util
perl-padre-util-commandline
perl-padre-util-filebrowser
perl-padre-util-svn
perl-padre-util-win32
perl-padre-wx
perl-padre-wx-action
perl-padre-wx-actionlibrary
perl-padre-wx-actionqueue
perl-padre-wx-app
perl-padre-wx-auimanager
perl-padre-wx-bottom
perl-padre-wx-browser
perl-padre-wx-cpan
perl-padre-wx-cpan-listview
perl-padre-wx-choice-files
perl-padre-wx-choice-theme
perl-padre-wx-combobox-findterm
perl-padre-wx-combobox-history
perl-padre-wx-command
perl-padre-wx-constant
perl-padre-wx-dialog-about
perl-padre-wx-dialog-advanced
perl-padre-wx-dialog-bookmarks
perl-padre-wx-dialog-debugoptions
perl-padre-wx-dialog-diff
perl-padre-wx-dialog-document
perl-padre-wx-dialog-expression
perl-padre-wx-dialog-filtertool
perl-padre-wx-dialog-find
perl-padre-wx-dialog-findinfiles
perl-padre-wx-dialog-form
perl-padre-wx-dialog-goto
perl-padre-wx-dialog-helpsearch
perl-padre-wx-dialog-modulestarter
perl-padre-wx-dialog-openresource
perl-padre-wx-dialog-openurl
perl-padre-wx-dialog-patch
perl-padre-wx-dialog-perlfilter
perl-padre-wx-dialog-pluginmanager
perl-padre-wx-dialog-positions
perl-padre-wx-dialog-preferences
perl-padre-wx-dialog-quickmenuaccess
perl-padre-wx-dialog-refactorselectfunction
perl-padre-wx-dialog-regexeditor
perl-padre-wx-dialog-replace
perl-padre-wx-dialog-replaceinfiles
perl-padre-wx-dialog-sloc
perl-padre-wx-dialog-sessionmanager
perl-padre-wx-dialog-sessionmanager2
perl-padre-wx-dialog-sessionsave
perl-padre-wx-dialog-shortcut
perl-padre-wx-dialog-snippet
perl-padre-wx-dialog-special
perl-padre-wx-dialog-sync
perl-padre-wx-dialog-text
perl-padre-wx-dialog-warning
perl-padre-wx-dialog-wherefrom
perl-padre-wx-dialog-windowlist
perl-padre-wx-diff
perl-padre-wx-diff2
perl-padre-wx-directory
perl-padre-wx-directory-browse
perl-padre-wx-directory-path
perl-padre-wx-directory-search
perl-padre-wx-directory-treectrl
perl-padre-wx-display
perl-padre-wx-editor
perl-padre-wx-editor-lock
perl-padre-wx-editor-menu
perl-padre-wx-fbp-about
perl-padre-wx-fbp-bookmarks
perl-padre-wx-fbp-breakpoints
perl-padre-wx-fbp-cpan
perl-padre-wx-fbp-debugoptions
perl-padre-wx-fbp-debugoutput
perl-padre-wx-fbp-debugger
perl-padre-wx-fbp-diff
perl-padre-wx-fbp-document
perl-padre-wx-fbp-expression
perl-padre-wx-fbp-find
perl-padre-wx-fbp-findfast
perl-padre-wx-fbp-findinfiles
perl-padre-wx-fbp-foundinfiles
perl-padre-wx-fbp-modulestarter
perl-padre-wx-fbp-outline
perl-padre-wx-fbp-pod
perl-padre-wx-fbp-patch
perl-padre-wx-fbp-pluginmanager
perl-padre-wx-fbp-preferences
perl-padre-wx-fbp-replace
perl-padre-wx-fbp-replaceinfiles
perl-padre-wx-fbp-sloc
perl-padre-wx-fbp-sessionmanager
perl-padre-wx-fbp-snippet
perl-padre-wx-fbp-special
perl-padre-wx-fbp-sync
perl-padre-wx-fbp-syntax
perl-padre-wx-fbp-tasklist
perl-padre-wx-fbp-text
perl-padre-wx-fbp-vcs
perl-padre-wx-fbp-wherefrom
perl-padre-wx-filedroptarget
perl-padre-wx-frame-html
perl-padre-wx-frame-null
perl-padre-wx-frame-pod
perl-padre-wx-functionlist
perl-padre-wx-htmlwindow
perl-padre-wx-icon
perl-padre-wx-left
perl-padre-wx-listview
perl-padre-wx-main
perl-padre-wx-menu
perl-padre-wx-menu-debug
perl-padre-wx-menu-edit
perl-padre-wx-menu-file
perl-padre-wx-menu-help
perl-padre-wx-menu-perl
perl-padre-wx-menu-refactor
perl-padre-wx-menu-run
perl-padre-wx-menu-search
perl-padre-wx-menu-tools
perl-padre-wx-menu-view
perl-padre-wx-menu-window
perl-padre-wx-menubar
perl-padre-wx-notebook
perl-padre-wx-nth
perl-padre-wx-outline
perl-padre-wx-output
perl-padre-wx-panel-breakpoints
perl-padre-wx-panel-debugoutput
perl-padre-wx-panel-debugger
perl-padre-wx-panel-findfast
perl-padre-wx-panel-foundinfiles
perl-padre-wx-panel-tasklist
perl-padre-wx-popup
perl-padre-wx-printout
perl-padre-wx-progress
perl-padre-wx-replaceinfiles
perl-padre-wx-right
perl-padre-wx-role-conduit
perl-padre-wx-role-config
perl-padre-wx-role-context
perl-padre-wx-role-dialog
perl-padre-wx-role-idle
perl-padre-wx-role-main
perl-padre-wx-role-timer
perl-padre-wx-role-view
perl-padre-wx-scintilla
perl-padre-wx-scrolllock
perl-padre-wx-selectionlock
perl-padre-wx-statusbar
perl-padre-wx-style
perl-padre-wx-syntax
perl-padre-wx-tasklist
perl-padre-wx-textentrydialog-history
perl-padre-wx-theme
perl-padre-wx-toolbar
perl-padre-wx-treectrl
perl-padre-wx-util
perl-padre-wx-vcs
)
options=(!emptydirs)
source=(http://search.cpan.org/CPAN/authors/id/${_author}/${_perlmod}-${pkgver}.tar.gz
p2.patch)
install='perl-padre.install'
build(){
cd "$srcdir"/$_perlmod-$pkgver/lib/Padre/Document/Perl/QuickFix/
patch -Np0 -i "$srcdir/p2.patch" # fixed or after return. Replaced by ||
cd "$srcdir"/$_perlmod-$pkgver
sed -i 's/30/60/g' "$srcdir/${_perlmod}-${pkgver}/t/13_findinfiles.t" # there are more files.
cp -f "$srcdir/${_perlmod}-${pkgver}/t/13_findinfiles.t" "$srcdir/${_perlmod}-${pkgver}/t/50_browser.t"
# ^^^ dirty hack. It looks in /usr/lib forlder for a file and fails. Replaced by another test.
# 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
LC_ALL=C \
/usr/bin/perl Makefile.PL
make
# If using Build.PL
elif [ -r Build.PL ]; then
/usr/bin/perl Build.PL
perl Build
fi
}
check(){
cd "$srcdir"/$_perlmod-$pkgver
# 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"/$_perlmod-$pkgver
# 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
# Modifing the path to the program icon
sed -i -e \
's#Icon=/usr/local/share/perl/5.10.1/auto/share/dist/Padre/icons/padre/64x64/logo.png#Icon=padre#' \
$pkgdir/usr/share/perl5/vendor_perl/auto/share/dist/Padre/padre.desktop
# installing desktop file
install -Dm644 $pkgdir/usr/share/perl5/vendor_perl/auto/share/dist/Padre/padre.desktop \
$pkgdir/usr/share/applications/padre.desktop
# installing icons
for _dim in 16x16 64x64; do
install -dm755 $pkgdir/usr/share/icons/hicolor/${_dim}/apps
# symlinks to hicolor icons
ln -s /usr/share/perl5/vendor_perl/auto/share/dist/Padre/icons/padre/${_dim}/logo.png \
$pkgdir/usr/share/icons/hicolor/${_dim}/apps/padre.png
done
}
md5sums=('2dbaf01c5c6328a8fc478ab82e52d4d0'
'e968181a98a90f9c85be6257594ec83f')
|