summaryrefslogtreecommitdiff
path: root/nonprism/kdepim-nonprism/PKGBUILD
blob: bd3ee9a53d8385560999984f8f065282f1b552de (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
# $Id: PKGBUILD 214668 2014-06-09 03:18:28Z svenstaro $
# Maintainer (Arch): Andrea Scarpino <andrea@archlinux.org>
# Contributor (Arch): Pierre Schmitz <pierre@archlinux.de>
# Maintainer: André Silva <emulatorman@parabola.nu>

pkgbase=kdepim
pkgname=('kdepim-akonadiconsole-nonprism'
         'kdepim-blogilo-nonprism'
         'kdepim-kaddressbook-nonprism'
         'kdepim-kjots-nonprism'
         'kdepim-kmail-nonprism'
         'kdepim-knode-nonprism'
         'kdepim-knotes-nonprism'
         'kdepim-korganizer-nonprism'
         'kdepim-libkdepim-nonprism')
pkgver=4.13.2
pkgrel=1.2
arch=('i686' 'x86_64')
url='http://pim.kde.org'
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdepim')
makedepends=('cmake' 'automoc4' 'boost' 'kdepim-runtime-nonprism' 'libxss' 'pilot-link'
             'baloo' 'link-grammar')
source=("http://download.kde.org/stable/${pkgver}/src/${pkgbase}-${pkgver}.tar.xz")
sha1sums=('ecc10cdec4fbe9a8b2c8179921403cf9b3aedac9')

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 \
		-DKDEPIM_STORAGESERVICE_GDRIVE=OFF
	make
}

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

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

package_kdepim-kaddressbook-nonprism() {
	pkgdesc='Contact Manager, without Google Drive support'
	depends=('kdepim-libkdepim')
	url="http://kde.org/applications/office/kaddressbook/"
	conflicts=('kdepim-kaddressbook')
	replaces=('kdepim-kaddressbook')
	provides=("kdepim-kaddressbook=${pkgver}")
  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-kjots-nonprism() {
	pkgdesc='Note Taker, without Google Drive support'
	depends=('kdepim-libkdepim')
	url="http://kde.org/applications/utilities/kjots/"
	conflicts=('kdepim-kjots')
	replaces=('kdepim-kjots')
	provides=("kdepim-kjots={pkgver}")
	install='kdepim.install'
	cd "${srcdir}"/build/kjots
	make DESTDIR="${pkgdir}" install
	cd "${srcdir}"/build/kontact/plugins/kjots
	make DESTDIR="${pkgdir}" install
}

package_kdepim-kmail-nonprism() {
	pkgdesc='Mail Client, without Google Drive support'
	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' 'kdepim-kmail')
	replaces=('kdepim-kmailcvt' 'kdepim-ksendemail' 'kdepim-libksieve'
	          'kdepim-mimelib' 'kdepim-plugins' 'kdepim-kmail')
	provides=("kdepim-kmail=${pkgver}")
  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-nonprism() {
	pkgdesc='News Reader, without Google Drive support'
	depends=('kdepim-libkdepim')
	url="http://kde.org/applications/internet/knode/"
	conflicts=('kdepim-knode')
	replaces=('kdepim-knode')
	provides=("kdepim-knode=${pkgver}")
	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-nonprism() {
	pkgdesc='Popup Notes, without Google Drive support'
	depends=('kdepim-libkdepim')
	url="http://kde.org/applications/utilities/knotes/"
	conflicts=('kdepim-knotes')
	replaces=('kdepim-knotes')
	provides=("kdepim-knotes=${pkgver}")
	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-korganizer-nonprism() {
	pkgdesc='Calendar and Scheduling Program, without Google Drive support'
	depends=('kdepim-libkdepim')
	url="http://kde.org/applications/office/korganizer"
	conflicts=('kdepim-korganizer')
	replaces=('kdepim-korganizer')
	provides=("kdepim-korganizer=${pkgver}")
	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-libkdepim-nonprism() {
	pkgdesc='Library for KDE PIM, without Google Drive support'
	groups=()
	depends=('kdepim-runtime' 'link-grammar' 'baloo')
	url='http://pim.kde.org'
	conflicts=('kdepim-icons' 'kdepim-libkleo' 'kdepim-libkpgp'
	           'kdepim-akonadi' 'kdepim-libkdepim')
	replaces=('kdepim-icons' 'kdepim-libkleo' 'kdepim-libkpgp'
	          'kdepim-akonadi' 'kdepim-libkdepim')
	provides=("kdepim-libkdepim=${pkgver}")
	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
}