summaryrefslogtreecommitdiff
path: root/libre/kdepim-libre/PKGBUILD
blob: af28566e881d125ae78d7cdb01a776a602b6addd (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
# $Id$
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Pierre Schmitz <pierre@archlinux.de>
# Maintainer (Parabola): André Silva <emulatorman@lavabit.com>

_pkgbase=kdepim
pkgbase=kdepim-libre
pkgname=('kdepim-akonadiconsole-libre'
         'kdepim-akregator-libre'
         'kdepim-blogilo-libre'
         'kdepim-console-libre'
         'kdepim-kaddressbook-libre'
         'kdepim-kalarm-libre'
         'kdepim-kjots-libre'
         'kdepim-kleopatra-libre'
         'kdepim-kmail-libre'
         'kdepim-knode-libre'
         'kdepim-knotes-libre'
         'kdepim-kontact-libre'
         'kdepim-korganizer-libre'
         'kdepim-kresources-libre'
         'kdepim-ktimetracker-libre'
         'kdepim-ktnef-libre'
         'kdepim-libkdepim-libre')
pkgver=4.9.5
pkgrel=1
arch=('i686' 'x86_64' 'mips64el')
url='http://pim.kde.org'
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdepim-libre')
makedepends=('cmake' 'automoc4' 'boost' 'kdepim-runtime' 'libxss' 'kde-agent')
source=("http://download.kde.org/stable/${pkgver}/src/${_pkgbase}-${pkgver}.tar.xz")
sha1sums=('a0d824dbb132cad8178767cfd881da2979ab399d')

build() {
	mkdir build
	cd build
	cmake ../${_pkgbase}-${pkgver} \
		-DCMAKE_BUILD_TYPE=Release \
		-DCMAKE_SKIP_RPATH=ON \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DKDEPIM_BUILD_MOBILE=OFF
	make
}

package_kdepim-akonadiconsole-libre() {
	pkgdesc='Akonadi Management and Debugging Console (without nonfree pilot-link support)'
	depends=('kdepim-libkdepim')
	url='http://pim.kde.org'
	replaces=('kdepim-akonadiconsole')
	conflicts=('kdepim-akonadiconsole')
	provides=("kdepim-akonadiconsole=${pkgver}")
	install='kdepim.install'
	cd "${srcdir}"/build/akonadiconsole
	make DESTDIR="${pkgdir}" install
}

package_kdepim-akregator-libre() {
	pkgdesc='A Feed Reader for KDE (without nonfree pilot-link support)'
	depends=('kdepim-libkdepim')
	url="http://kde.org/applications/internet/akregator/"
	replaces=('kdepim-akregator')
	conflicts=('kdepim-akregator')
	provides=("kdepim-akregator=${pkgver}")
	install='kdepim.install'
	cd "${srcdir}"/build/akregator
	make DESTDIR="${pkgdir}" install
	cd "${srcdir}"/build/doc/akregator
	make DESTDIR="${pkgdir}" install
	cd "${srcdir}"/build/kontact/plugins/akregator
	make DESTDIR="${pkgdir}" install
}

package_kdepim-blogilo-libre() {
	pkgdesc='A KDE Blogging Client (without nonfree pilot-link support)'
	depends=('kdepim-runtime')
	url="http://kde.org/applications/internet/blogilo/"
	replaces=('kdepim-blogilo' 'blogilo')
	conflicts=('kdepim-blogilo' 'blogilo')
	provides=("kdepim-blogilo=${pkgver}")
	install='kdepim.install'
	cd "${srcdir}"/build/blogilo
	make DESTDIR="${pkgdir}" install
	cd "${srcdir}"/build/doc/blogilo
	make DESTDIR="${pkgdir}" install
}

package_kdepim-console-libre() {
	pkgdesc='Command line tool for accessing calendar files (without nonfree pilot-link support)'
	depends=('kdepim-runtime')
	url='http://pim.kde.org'
	replaces=('kdepim-console')
	conflicts=('kdepim-console')
	provides=("kdepim-console=${pkgver}")
	install='kdepim.install'
	cd "${srcdir}"/build/console
	make DESTDIR="${pkgdir}" install
	cd "${srcdir}"/build/doc/kabcclient
	make DESTDIR="${pkgdir}" install
	cd "${srcdir}"/build/doc/konsolekalendar
	make DESTDIR="${pkgdir}" install
}

package_kdepim-kaddressbook-libre() {
	pkgdesc='Contact Manager (without nonfree pilot-link support)'
	depends=('kdepim-libkdepim')
	url="http://kde.org/applications/office/kaddressbook/"
	replaces=('kdepim-kaddressbook')
	conflicts=('kdepim-kaddressbook')
	provides=("kdepim-kaddressbook=${pkgver}")
	install='kdepim.install'
	cd "${srcdir}"/build/kaddressbook
	make DESTDIR="${pkgdir}" install
	cd "${srcdir}"/build/kontact/plugins/kaddressbook
	make DESTDIR="${pkgdir}" install
	cd "${srcdir}"/build/plugins/kaddressbook
	make DESTDIR="${pkgdir}" install
}

package_kdepim-kalarm-libre() {
	pkgdesc='Personal Alarm Scheduler (without nonfree pilot-link support)'
	depends=('kdepim-libkdepim')
	url="http://kde.org/applications/utilities/kalarm/"
	replaces=('kdepim-kalarm')
	conflicts=('kdepim-kalarm')
	provides=("kdepim-kalarm=${pkgver}")
	install='kdepim.install'
	cd "${srcdir}"/build/kalarm
	make DESTDIR="${pkgdir}" install
	cd "${srcdir}"/build/doc/kalarm
	make DESTDIR="${pkgdir}" install
}

package_kdepim-kjots-libre() {
	pkgdesc='Note Taker (without nonfree pilot-link support)'
	depends=('kdepim-libkdepim')
	url="http://kde.org/applications/utilities/kjots/"
	replaces=('kdepim-kjots')
	conflicts=('kdepim-kjots')
	provides=("kdepim-kjots=${pkgver}")
	install='kdepim.install'
	cd "${srcdir}"/build/kjots
	make DESTDIR="${pkgdir}" install
	cd "${srcdir}"/build/doc/kjots
	make DESTDIR="${pkgdir}" install
	cd "${srcdir}"/build/kontact/plugins/kjots
	make DESTDIR="${pkgdir}" install
}

package_kdepim-kleopatra-libre() {
	pkgdesc='Certificate Manager and Unified Crypto GUI (without nonfree pilot-link support)'
	depends=('kdepim-libkdepim')
	install='kdepim-kleopatra.install'
	url="http://kde.org/applications/utilities/kleopatra/"
	replaces=('kdepim-kleopatra')
	conflicts=('kdepim-kleopatra')
	provides=("kdepim-kleopatra=${pkgver}")
	cd "${srcdir}"/build/kleopatra
	make DESTDIR="${pkgdir}" install
	cd "${srcdir}"/build/doc/kleopatra
	make DESTDIR="${pkgdir}" install
	cd "${srcdir}"/build/doc/kwatchgnupg
	make DESTDIR="${pkgdir}" install
}

package_kdepim-kmail-libre() {
	pkgdesc='Mail Client (without nonfree pilot-link support)'
	depends=('kdepim-libkdepim')
	url="http://kde.org/applications/internet/kmail/"
	install='kdepim-kmail.install'
	conflicts=('kdepim-kmail' 'kdepim-kmailcvt' 'kdepim-ksendemail' 'kdepim-libksieve'
	           'kdepim-mimelib' 'kdepim-plugins')
	replaces=('kdepim-kmail' 'kdepim-kmailcvt' 'kdepim-ksendemail' 'kdepim-libksieve'
	          'kdepim-mimelib' 'kdepim-plugins')
	provides=("kdepim-kmail=${pkgver}")
	for i in kmail doc/kmail kmailcvt archivemailagent backupmail \
	importwizard ksendemail libksieve messagelist mailfilteragent \
	mailimporter ontologies kontact/plugins/kmail; do
		cd "${srcdir}"/build/${i}
		make DESTDIR="${pkgdir}" install
	done
}

package_kdepim-knode-libre() {
	pkgdesc='News Reader (without nonfree pilot-link support)'
	depends=('kdepim-libkdepim')
	url="http://kde.org/applications/internet/knode/"
	replaces=('kdepim-knode')
	conflicts=('kdepim-knode')
	provides=("kdepim-knode=${pkgver}")
	install='kdepim-knode.install'
	cd "${srcdir}"/build/knode
	make DESTDIR="${pkgdir}" install
	cd "${srcdir}"/build/doc/knode
	make DESTDIR="${pkgdir}" install
	cd "${srcdir}"/build/doc/kioslave/news
	make DESTDIR="${pkgdir}" install
	cd "${srcdir}"/build/kontact/plugins/knode
	make DESTDIR="${pkgdir}" install
}

package_kdepim-knotes-libre() {
	pkgdesc='Popup Notes (without nonfree pilot-link support)'
	depends=('kdepim-libkdepim')
	url="http://kde.org/applications/utilities/knotes/"
	replaces=('kdepim-knotes')
	conflicts=('kdepim-knotes')
	provides=("kdepim-knotes=${pkgver}")
	install='kdepim.install'
	cd "${srcdir}"/build/knotes
	make DESTDIR="${pkgdir}" install
	cd "${srcdir}"/build/doc/knotes
	make DESTDIR="${pkgdir}" install
	cd "${srcdir}"/build/kontact/plugins/knotes
	make DESTDIR="${pkgdir}" install
}

package_kdepim-kontact-libre() {
	pkgdesc='Personal Information Manager (without nonfree pilot-link support)'
	depends=('kdepim-libkdepim')
	url="http://kde.org/applications/office/kontact/"
	install='kdepim.install'
	conflicts=('kdepim-kontact' 'kdepim-kontactinterfaces')
	replaces=('kdepim-kontact' 'kdepim-kontactinterfaces')
	provides=("kdepim-kontact=${pkgver}")
	for i in kontact/src doc/kontact kontact/plugins/summary \
		kontact/plugins/specialdates doc/kontact-admin; do
		cd "${srcdir}"/build/${i}
		make DESTDIR="${pkgdir}" install
	done
}

package_kdepim-korganizer-libre() {
	pkgdesc='Calendar and Scheduling Program (without nonfree pilot-link support)'
	depends=('kdepim-libkdepim')
	url="http://kde.org/applications/office/korganizer"
	replaces=('kdepim-korganizer')
	conflicts=('kdepim-korganizer')
	provides=("kdepim-korganizer=${pkgver}")
	install='kdepim-korganizer.install'
	for i in korganizer doc/korganizer kontact/plugins/korganizer \
		calendarviews; do
		cd "${srcdir}"/build/${i} 
		make DESTDIR="${pkgdir}" install
	done
}

package_kdepim-kresources-libre() {
	pkgdesc='KDE PIM resources (without nonfree pilot-link support)'
	depends=('kdepim-libkdepim')
	url='http://pim.kde.org'
	replaces=('kdepim-kresources')
	conflicts=('kdepim-kresources')
	provides=("kdepim-kresources=${pkgver}")
	cd "${srcdir}"/build/kresources
	make DESTDIR="${pkgdir}" install
}

package_kdepim-ktimetracker-libre() {
	pkgdesc='Personal Time Tracker (without nonfree pilot-link support)'
	depends=('kdepim-kresources')
	url="http://kde.org/applications/utilities/ktimetracker/"
	replaces=('kdepim-ktimetracker')
	conflicts=('kdepim-ktimetracker')
	provides=("kdepim-ktimetracker=${pkgver}")
	install='kdepim.install'
	cd "${srcdir}"/build/ktimetracker
	make DESTDIR="${pkgdir}" install
	cd "${srcdir}"/build/doc/ktimetracker
	make DESTDIR="${pkgdir}" install
	cd "${srcdir}"/build/kontact/plugins/ktimetracker
	make DESTDIR="${pkgdir}" install
}

package_kdepim-ktnef-libre() {
	pkgdesc='A viewer/extractor for TNEF files (without nonfree pilot-link support)'
	depends=('kdebase-runtime' 'kdepimlibs')
	url="https://projects.kde.org/projects/kde/kdepim/ktnef"
	replaces=('kdepim-ktnef')
	conflicts=('kdepim-ktnef')
	provides=("kdepim-ktnef=${pkgver}")
	install=kdepim-ktnef.install
	cd "${srcdir}"/build/ktnef
	make DESTDIR="${pkgdir}" install
	cd "${srcdir}"/build/doc/ktnef
	make DESTDIR="${pkgdir}" install	
}

package_kdepim-libkdepim-libre() {
	pkgdesc='Library for KDE PIM (without nonfree pilot-link support)'
	groups=()
	depends=('kde-agent' 'kdepim-runtime')
	url='http://pim.kde.org'
	conflicts=('kdepim-libkdepim' 'kdepim-icons' 'kdepim-libkleo'
	           'kdepim-libkpgp' 'kdepim-strigi-analyzer' 'kdepim-akonadi')
	replaces=('kdepim-libkdepim' 'kdepim-icons' 'kdepim-libkleo'
	          'kdepim-libkpgp' 'kdepim-strigi-analyzer' 'kdepim-akonadi')
	provides=("kdepim-libkdepim=${pkgver}")
	for i in akonadi_next calendarsupport incidenceeditor-ng \
	kdgantt2 libkdepim libkdepimdbusinterfaces libkleo libkpgp \
	mailcommon messagecomposer messagecore messageviewer icons \
	strigi-analyzer templateparser plugins/messageviewer \
	plugins/ktexteditor; do
		cd "${srcdir}"/build/${i}
		make DESTDIR="${pkgdir}" install
	done
}