blob: f155259d78d522b3edf6048a4dff1111e6919040 (
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
|
# $Id: PKGBUILD 124312 2011-05-19 09:43:16Z andrea $
# Maintainer: Ronald van Haren <ronald.archlinux.org>
# Contributor: Andrea Scarpino <andrea@archlinux.org>
pkgbase=calligra
pkgname=('calligra-filters'
'calligra-interfaces'
'calligra-libs'
'calligra-plugins'
'calligra-pics'
'calligra-servicetypes'
'calligra-templates'
'calligra-tools'
'calligra-karbon'
'calligra-karbon-doc'
'calligra-kexi'
'calligra-kexi-doc'
'calligra-kformula'
'calligra-kformula-doc'
'calligra-kounavail'
'calligra-kplato'
'calligra-stage'
'calligra-stage-doc'
'calligra-krita'
'calligra-tables'
'calligra-tables-doc'
'calligra-words'
'calligra-handbook'
'calligra-thesaurus-doc'
'calligra-braindump'
'calligra-flow')
pkgver=2.3.71
pkgrel=1
arch=('i686' 'x86_64')
url='http://www.calligra-suite.org'
license=('FDL1.2' 'GPL2' 'LGPL')
makedepends=('kdelibs' 'kdepimlibs' 'eigen' 'lcms2' 'postgresql-libs' 'freetds'
'kdegraphics-okular' 'libgsf' 'libwpd' 'libwpg' 'pstoedit' 'glew'
'gsl' 'cmake' 'automoc4' 'boost')
groups=('calligra')
source=("http://download.kde.org/unstable/${pkgbase}-${pkgver}/${pkgbase}-${pkgver}.tar.bz2")
md5sums=('f280add8d1d57cc701dc105fc92d2504')
build() {
cd "${srcdir}"
mkdir build
cd build
cmake ../${pkgbase}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_SKIP_RPATH=ON \
-DCMAKE_INSTALL_PREFIX=/usr
make
}
package_calligra-filters() {
pkgdesc="Filters for the Calligra office suite"
optdepends=('libgsf: Microsoft Word document importer'
'libwpd: WordPerfect document importer'
'libwpg: Corel WordPerfect Graphics image importer'
'pstoedit: Karbon EPS import filter'
'kdegraphics-libs: support for raw images')
conflicts=('koffice-filters')
replaces=('koffice-filters')
install=calligra-filters.install
cd "${srcdir}"/build/filters
make DESTDIR="${pkgdir}" install
}
package_calligra-interfaces() {
pkgdesc="Interfaces for the Calligra office suite"
depends=('calligra-libs')
conflicts=('koffice-interfaces')
replaces=('koffice-interfaces')
cd "${srcdir}"/build/interfaces
make DESTDIR="${pkgdir}" install
}
package_calligra-libs() {
pkgdesc="Libraries for the Calligra office suite"
depends=('kdepimlibs' 'lcms2' 'calligra-servicetypes')
conflicts=('koffice-libs')
replaces=('koffice-libs')
cd "${srcdir}"/build/libs
make DESTDIR="${pkgdir}" install
}
package_calligra-plugins() {
pkgdesc="Plugins for the Calligra office suite"
depends=('calligra-libs')
conflicts=('koffice-plugins' 'koffice-kchart')
replaces=('koffice-plugins' 'koffice-kchart')
cd "${srcdir}"/build/plugins
make DESTDIR="${pkgdir}" install
}
package_calligra-pics() {
pkgdesc="Icons for the Calligra office suite"
depends=('calligra-libs')
conflicts=('koffice-pics')
replaces=('koffice-pics')
install=calligra.install
cd "${srcdir}"/build/pics
make DESTDIR="${pkgdir}" install
}
package_calligra-servicetypes() {
pkgdesc="Servicetypes for the Calligra office suite"
conflicts=('koffice-servicetypes')
replaces=('koffice-servicetypes')
install=calligra.install
cd "${srcdir}"/build/servicetypes
make DESTDIR="${pkgdir}" install
}
package_calligra-templates() {
pkgdesc="Templates for the Calligra office suite"
conflicts=('koffice-templates')
replaces=('koffice-templates')
cd "${srcdir}"/build/templates
make DESTDIR="${pkgdir}" install
}
package_calligra-tools() {
pkgdesc="Tools for the Calligra office suite"
depends=('calligra-libs')
conflicts=('koffice-tools')
replaces=('koffice-tools')
install=calligra-tools.install
cd "${srcdir}"/build/tools
make DESTDIR="${pkgdir}" install
}
#### package common files done #####
#### package apps and their docs #####
package_calligra-karbon() {
pkgdesc="Create scalable vector drawings"
depends=('calligra-libs' 'calligra-templates')
conflicts=('koffice-karbon')
replaces=('koffice-karbon')
install=calligra-karbon.install
cd "${srcdir}"/build/karbon
make DESTDIR="${pkgdir}" install
}
package_calligra-karbon-doc() {
pkgdesc="Documentation for Karbon"
depends=('calligra-karbon')
conflicts=('koffice-karbon-doc')
replaces=('koffice-karbon-doc')
cd "${srcdir}"/build/doc/karbon
make DESTDIR="${pkgdir}" install
}
package_calligra-kexi() {
pkgdesc="Develop desktop database applications"
depends=('calligra-libs' 'calligra-templates')
conflicts=('koffice-kexi')
replaces=('koffice-kexi')
install=calligra-kexi.install
cd "${srcdir}"/build/kexi
make DESTDIR="${pkgdir}" install
}
package_calligra-kexi-doc() {
pkgdesc="Documentation for Kexi"
depends=('calligra-kexi')
conflicts=('koffice-kexi-doc')
replaces=('koffice-kexi-doc')
cd "${srcdir}"/build/doc/kexi
make DESTDIR="${pkgdir}" install
}
package_calligra-kformula() {
pkgdesc="Formula editor"
depends=('calligra-libs' 'calligra-templates')
conflicts=('koffice-kformula')
replaces=('koffice-kformula')
install=calligra-kformula.install
cd "${srcdir}"/build/kformula
make DESTDIR="${pkgdir}" install
}
package_calligra-kformula-doc() {
pkgdesc="Documentation for KFormula"
depends=('calligra-kformula')
conflicts=('koffice-kformula-doc')
replaces=('koffice-kformula-doc')
cd "${srcdir}"/build/doc/kformula
make DESTDIR="${pkgdir}" install
}
package_calligra-kounavail() {
pkgdesc="Unavailable Calligra Document"
depends=('calligra-libs')
conflicts=('koffice-kounavail')
replaces=('koffice-kounavail')
cd "${srcdir}"/build/kounavail
make DESTDIR="${pkgdir}" install
}
package_calligra-kplato() {
pkgdesc="Calligra Project Management Component"
depends=('calligra-words')
conflicts=('koffice-kplato')
replaces=('koffice-kplato')
install=calligra-kplato.install
cd "${srcdir}"/build/kplato
make DESTDIR="${pkgdir}" install
}
package_calligra-stage() {
pkgdesc="Write presentation documents"
depends=('calligra-libs' 'calligra-templates')
optdepends=('koffice-filters: import/export filters')
conflicts=('koffice-kpresenter')
replaces=('koffice-kpresenter')
install=calligra-stage.install
cd "${srcdir}"/build/kpresenter
make DESTDIR="${pkgdir}" install
}
package_calligra-stage-doc() {
pkgdesc="Documentation for Stage"
depends=('calligra-stage')
conflicts=('koffice-kpresenter-doc')
replaces=('koffice-kpresenter-doc')
cd "${srcdir}"/build/doc/stage
make DESTDIR="${pkgdir}" install
}
package_calligra-krita() {
pkgdesc="Edit and paint images"
depends=('calligra-libs' 'calligra-templates' 'calligra-plugins' 'glew'
'qimageblitz' 'poppler-qt' 'openexr' 'opengtl')
optdepends=('koffice-filters: import/export filters')
conflicts=('koffice-krita')
replaces=('koffice-krita')
install=calligra-krita.install
cd "${srcdir}"/build/krita
make DESTDIR="${pkgdir}" install
}
package_calligra-tables() {
pkgdesc="Write spreadsheet documents"
depends=('calligra-libs' 'calligra-templates' 'calligra-plugins' 'gsl')
optdepends=('koffice-filters: import/export filters')
conflicts=('koffice-kspread')
replaces=('koffice-kspread')
install=calligra-tables.install
cd "${srcdir}"/build/tables
make DESTDIR="${pkgdir}" install
}
package_calligra-tables-doc() {
pkgdesc="Documentation for Tables"
depends=('calligra-tables')
conflicts=('koffice-kspread-doc')
replaces=('koffice-kspread-doc')
cd "${srcdir}"/build/doc/tables
make DESTDIR="${pkgdir}" install
}
package_calligra-words() {
pkgdesc="Word Processor"
depends=('calligra-libs' 'calligra-templates' 'calligra-plugins' 'calligra-pics'
'calligra-kounavail')
optdepends=('koffice-filters: import/export filters')
conflicts=('koffice-kword')
replaces=('koffice-kword')
install=calligra-words.install
cd "${srcdir}"/build/words
make DESTDIR="${pkgdir}" install
}
package_calligra-handbook() {
pkgdesc="Documentation for Calligra"
conflicts=('koffice-handbook')
replaces=('koffice-handbook')
cd "${srcdir}"/build/doc/calligra
make DESTDIR="${pkgdir}" install
}
package_calligra-thesaurus-doc() {
pkgdesc="Documentation for Thesaurus"
conflicts=('koffice-thesaurus-doc')
replaces=('koffice-thesaurus-doc')
cd "${srcdir}"/build/doc/thesaurus
make DESTDIR="${pkgdir}" install
}
package_calligra-braindump() {
pkgdesc="Notes and idea gathering"
install=calligra-braindump.install
cd "${srcdir}"/build/braindump
make DESTDIR="${pkgdir}" install
}
package_calligra-flow() {
pkgdesc="Flowchart & Diagram Editing"
install=calligra-flow.install
cd "${srcdir}"/build/flow
make DESTDIR="${pkgdir}" install
}
package_calligra-flow-doc() {
pkgdesc="Documentation for Flow"
depends=('calligra-flow')
cd "${srcdir}"/build/doc/flow
make DESTDIR="${pkgdir}" install
}
##### package apps done #####
|