summaryrefslogtreecommitdiff
path: root/extra/kdepim/PKGBUILD
blob: ffb1992f93ec17a85437383fe82027aa7c91bc34 (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
# $Id: PKGBUILD 217327 2014-07-18 11:47:10Z svenstaro $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Pierre Schmitz <pierre@archlinux.de>

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

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

package_kdepim-akonadiconsole() {
	pkgdesc='Akonadi Management and Debugging Console'
	depends=('kdepim-libkdepim')
	url='http://pim.kde.org'
	install='kdepim.install'
	cd "${srcdir}"/build/akonadiconsole
	make DESTDIR="${pkgdir}" install
}

package_kdepim-akregator() {
	pkgdesc='A Feed Reader for KDE'
	depends=('kdepim-libkdepim')
	url="http://kde.org/applications/internet/akregator/"
	install='kdepim-akregator.install'
	cd "${srcdir}"/build/akregator
	make DESTDIR="${pkgdir}" install
	cd "${srcdir}"/build/kontact/plugins/akregator
	make DESTDIR="${pkgdir}" install
}

package_kdepim-blogilo() {
	pkgdesc='A KDE Blogging Client'
	depends=('kdepim-libkdepim')
	url="http://kde.org/applications/internet/blogilo/"
	replaces=('blogilo')
	conflicts=('blogilo')
	install='kdepim.install'
	cd "${srcdir}"/build/blogilo
	make DESTDIR="${pkgdir}" install
    cd "${srcdir}"/build/composereditor-ng
	make DESTDIR="${pkgdir}" install
}

package_kdepim-console() {
	pkgdesc='Command line tool for accessing calendar files'
	depends=('kdepim-libkdepim')
	url='http://pim.kde.org'
	install='kdepim.install'
	cd "${srcdir}"/build/console
	make DESTDIR="${pkgdir}" install
}

package_kdepim-kaddressbook() {
	pkgdesc='Contact Manager'
	depends=('kdepim-libkdepim')
	url="http://kde.org/applications/office/kaddressbook/"
  install='kdepim-kaddressbook.install'
  for i in kaddressbook kontact/plugins/kaddressbook \
    plugins/kaddressbook contactthemeeditor; do
    cd "${srcdir}"/build/${i}
    make DESTDIR="${pkgdir}" install
  done
}

package_kdepim-kalarm() {
	pkgdesc='Personal Alarm Scheduler'
	depends=('kdepim-libkdepim')
	url="http://kde.org/applications/utilities/kalarm/"
	install='kdepim.install'
	cd "${srcdir}"/build/kalarm
	make DESTDIR="${pkgdir}" install
}

package_kdepim-kjots() {
	pkgdesc='Note Taker'
	depends=('kdepim-libkdepim')
	url="http://kde.org/applications/utilities/kjots/"
	install='kdepim.install'
	cd "${srcdir}"/build/kjots
	make DESTDIR="${pkgdir}" install
	cd "${srcdir}"/build/kontact/plugins/kjots
	make DESTDIR="${pkgdir}" install
}

package_kdepim-kleopatra() {
	pkgdesc='Certificate Manager and Unified Crypto GUI'
	depends=('kdepim-libkdepim')
    install=kdepim-kleopatra.install
	url="http://kde.org/applications/utilities/kleopatra/"
	cd "${srcdir}"/build/kleopatra
	make DESTDIR="${pkgdir}" install
}

package_kdepim-kmail() {
	pkgdesc='Mail Client'
	depends=('kdepim-libkdepim' 'kde-agent')
	url="http://kde.org/applications/internet/kmail/"
	install='kdepim-kmail.install'
	conflicts=('kdepim-kmailcvt' 'kdepim-ksendemail' 'kdepim-libksieve'
	           'kdepim-mimelib' 'kdepim-plugins')
	replaces=('kdepim-kmailcvt' 'kdepim-ksendemail' 'kdepim-libksieve'
	          'kdepim-mimelib' 'kdepim-plugins')
  for i in kmail kmailcvt agents/archivemailagent storageservicemanager\
    agents/mailfilteragent importwizard ksendemail libksieve messagelist \
    kontact/plugins/kmail headerthemeeditor mboximporter; do
    cd "${srcdir}"/build/${i}
    make DESTDIR="${pkgdir}" install
  done
}

package_kdepim-knode() {
	pkgdesc='News Reader'
	depends=('kdepim-libkdepim')
	url="http://kde.org/applications/internet/knode/"
	install='kdepim-knode.install'
	cd "${srcdir}"/build/knode
	make DESTDIR="${pkgdir}" install
	cd "${srcdir}"/build/kontact/plugins/knode
	make DESTDIR="${pkgdir}" install
}

package_kdepim-knotes() {
	pkgdesc='Popup Notes'
	depends=('kdepim-libkdepim')
	url="http://kde.org/applications/utilities/knotes/"
	install='kdepim.install'
	cd "${srcdir}"/build/knotes
	make DESTDIR="${pkgdir}" install
  cd "${srcdir}"/build/agents/notesagent
	make DESTDIR="${pkgdir}" install
	cd "${srcdir}"/build/kontact/plugins/knotes
	make DESTDIR="${pkgdir}" install
}

package_kdepim-kontact() {
	pkgdesc='Personal Information Manager'
	depends=('kdepim-libkdepim')
	url="http://kde.org/applications/office/kontact/"
	install='kdepim.install'
	conflcits=('kdepim-kontactinterfaces')
	replaces=('kdepim-kontactinterfaces')
	for i in kontact/src kontact/plugins/summary \
		kontact/plugins/specialdates; do
		cd "${srcdir}"/build/${i}
		make DESTDIR="${pkgdir}" install
	done
}

package_kdepim-korganizer() {
	pkgdesc='Calendar and Scheduling Program'
	depends=('kdepim-libkdepim')
	url="http://kde.org/applications/office/korganizer"
	install='kdepim-korganizer.install'
	for i in korganizer korgac kontact/plugins/korganizer calendarviews; do
		cd "${srcdir}"/build/${i}
		make DESTDIR="${pkgdir}" install
	done
}

package_kdepim-kresources() {
	pkgdesc='KDE PIM resources'
	depends=('kdepim-libkdepim')
	url='http://pim.kde.org'
	cd "${srcdir}"/build/kresources
	make DESTDIR="${pkgdir}" install
}

package_kdepim-ktimetracker() {
	pkgdesc='Personal Time Tracker'
	depends=('kdepim-kresources')
	url="http://kde.org/applications/utilities/ktimetracker/"
	install='kdepim.install'
	cd "${srcdir}"/build/ktimetracker
	make DESTDIR="${pkgdir}" install
}

package_kdepim-ktnef() {
	pkgdesc='A viewer/extractor for TNEF files'
	depends=('kdebase-runtime' 'kdepimlibs')
	url="https://projects.kde.org/projects/kde/kdepim/ktnef"
    install=kdepim-ktnef.install
	cd "${srcdir}"/build/ktnef
	make DESTDIR="${pkgdir}" install
}

package_kdepim-libkdepim() {
	pkgdesc='Library for KDE PIM'
	groups=()
	depends=('kdepim-runtime' 'link-grammar' 'baloo')
	url='http://pim.kde.org'
	conflicts=('kdepim-icons' 'kdepim-libkleo' 'kdepim-libkpgp'
	           'kdepim-akonadi')
	replaces=('kdepim-icons' 'kdepim-libkleo' 'kdepim-libkpgp'
	          'kdepim-akonadi')
	install='kdepim.install'
	for i in agents/sendlateragent akonadi_next calendarsupport \
  incidenceeditor-ng kaddressbookgrantlee kdgantt2 libkdepim \
  libkdepimdbusinterfaces libkleo libkpgp mailcommon mailimporter \
  messagecomposer messagecore messageviewer noteshared icons templateparser \
  plugins/messageviewer grantleetheme grantleethemeeditor \
  plugins/ktexteditor pimcommon pimsettingexporter; do
		cd "${srcdir}"/build/${i}
		make DESTDIR="${pkgdir}" install
	done
}