6 makedepends=('pkgconfig' 'cmake' 'automoc4' 'boost' 'kdepim4-runtime-git' 'libxss' 'pilot-link' 'kde-agent')
9 _gitroot="git://anongit.kde.org/kdepim/kmail"
14 msg "Connecting to the GIT server...."
16 if [[ -d $srcdir/$_gitname ]] ; then
19 msg "The local files are updated."
24 msg "GIT checkout done"
25 msg "Starting make..."
26 if [[ -d ${srcdir}/build ]]; then
27 msg "Cleaning the previous build directory..."
28 rm -rf ${srcdir}/build
32 cmake $startdir/src/$_gitname -DCMAKE_BUILD_TYPE=debugfull \
33 -DCMAKE_INSTALL_PREFIX=/usr \
34 -DCMAKE_SKIP_RPATH=ON \
35 -DKDEPIM_BUILD_MOBILE=OFF
40 package_kdepim4-kmail-git() {
42 depends=('kdepim4-libkdepim-git')
43 conflicts=('kdepim-kmail')
44 url="http://kde.org/applications/internet/kmail/"
45 install='kmail-git.install'
46 optdepends=('cyrus-sasl-plugins: CRAM-MD5 authentication')
47 for i in kmail doc/kmail kmailcvt ksendemail libksieve mailcommon \
48 nepomuk_email_feeder ontologies templateparser kontact/plugins/kmail; do
49 cd "${srcdir}"/build/${i}
50 make DESTDIR="${pkgdir}" install
54 url="http://www.kde.org"
55 pkgdesc="KDE4 PIM Utilities"