# $Id: PKGBUILD 220274 2014-08-20 15:25:21Z svenstaro $ # Maintainer (Arch): Andrea Scarpino # Contributor (Arch): Pierre Schmitz # Maintainer: André Silva 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.14.0 pkgrel=1 arch=('i686' 'x86_64' 'mips64el') 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=('e5f24a8892954004f4b4eada5bcd46b6c71e1bbd') 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 cd "${srcdir}"/build/doc/blogilo 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; 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 cd "${srcdir}"/build/doc/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 mboximporter; do cd "${srcdir}"/build/${i} make DESTDIR="${pkgdir}" install done cd "${srcdir}"/build/doc/kmail make DESTDIR="${pkgdir}" install cd "${srcdir}"/build/doc/sieveeditor make DESTDIR="${pkgdir}" install cd "${srcdir}"/build/doc/importwizard make DESTDIR="${pkgdir}" install } 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 cd "${srcdir}"/build/doc/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 cd "${srcdir}"/build/doc/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 cd "${srcdir}"/build/doc/korganizer make DESTDIR="${pkgdir}" install } 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 grantleeeditor/grantleethemeeditor \ grantleeeditor/contactthemeeditor grantleeeditor/headerthemeeditor \ plugins/ktexteditor pimcommon pimsettingexporter; do cd "${srcdir}"/build/${i} make DESTDIR="${pkgdir}" install done cd "${srcdir}"/build/doc/pimsettingexporter make DESTDIR="${pkgdir}" install cd "${srcdir}"/build/doc/headerthemeeditor make DESTDIR="${pkgdir}" install cd "${srcdir}"/build/doc/contactthemeeditor make DESTDIR="${pkgdir}" install }