summaryrefslogtreecommitdiff
path: root/extra/kdepim
diff options
context:
space:
mode:
Diffstat (limited to 'extra/kdepim')
-rw-r--r--extra/kdepim/PKGBUILD234
-rw-r--r--extra/kdepim/disable-l10n.patch10
-rw-r--r--extra/kdepim/kdepim-kleopatra.install12
-rw-r--r--extra/kdepim/kdepim-kmail.install12
-rw-r--r--extra/kdepim/kdepim-korganizer.install12
5 files changed, 173 insertions, 107 deletions
diff --git a/extra/kdepim/PKGBUILD b/extra/kdepim/PKGBUILD
index 4b3e307b0..210df38c0 100644
--- a/extra/kdepim/PKGBUILD
+++ b/extra/kdepim/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 120278 2011-04-22 00:23:46Z andrea $
+# $Id: PKGBUILD 130497 2011-07-06 23:35:24Z andrea $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Pierre Schmitz <pierre@archlinux.de>
@@ -20,219 +20,239 @@ pkgname=('kdepim-akonadiconsole'
'kdepim-ktimetracker'
'kdepim-libkdepim'
'kdepim-wizards')
-pkgver=4.4.11.1
+pkgver=4.6.1
pkgrel=1
arch=('i686' 'x86_64')
-url='http://www.kde.org'
+url='http://pim.kde.org'
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdepim')
makedepends=('pkgconfig' 'cmake' 'automoc4' 'boost' 'kdepim-runtime' 'libxss'
'pilot-link' 'kde-agent')
-source=("http://download.kde.org/stable/${pkgbase}-${pkgver}/src/${pkgbase}-${pkgver}.tar.bz2")
-sha1sums=('49dd6cc8406b0ef4bb681bfc0de6ad9368b4b5b2')
+source=("http://download.kde.org/stable/${pkgbase}-${pkgver}/src/${pkgbase}-${pkgver}.tar.bz2"
+ 'disable-l10n.patch')
+sha1sums=('aa4dc75d33b3aa105e3f3b2f41e9d87b57cbf20a'
+ 'f52c8d3918e3cd6d8e0180af243333ee2d87d382')
build() {
- cd ${srcdir}
- mkdir build
- cd build
- cmake ../${pkgbase}-${pkgver} \
- -DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_SKIP_RPATH=ON \
- -DCMAKE_INSTALL_PREFIX=/usr
- make
+ cd "${srcdir}"/${pkgbase}-${pkgver}
+ patch -p1 -i "${srcdir}"/disable-l10n.patch
+
+ cd "${srcdir}"
+ 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() {
pkgdesc='Akonadi Management and Debugging Console'
- depends=('kdepim-libkdepim' 'kdebase-runtime')
+ depends=('kdepim-libkdepim')
+ url='http://pim.kde.org'
install='kdepim.install'
- cd $srcdir/build/akonadiconsole
- make DESTDIR=$pkgdir install
+ cd "${srcdir}"/build/akonadiconsole
+ make DESTDIR="${pkgdir}" install
}
package_kdepim-akregator() {
pkgdesc='A Feed Reader for KDE'
- depends=('kdepim-libkdepim' 'kdebase-runtime')
+ depends=('kdepim-libkdepim')
url="http://kde.org/applications/internet/akregator/"
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
+ 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() {
pkgdesc='A KDE Blogging Client'
- depends=('kdebase-runtime' 'kdepimlibs' 'kdepim-runtime')
+ depends=('kdepim-runtime')
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/doc/blogilo
- make DESTDIR=$pkgdir install
+ cd "${srcdir}"/build/blogilo
+ make DESTDIR="${pkgdir}" install
+ cd "${srcdir}"/build/doc/blogilo
+ make DESTDIR="${pkgdir}" install
}
package_kdepim-console() {
pkgdesc='Command line tool for accessing calendar files'
- depends=('kdebase-runtime' 'kdepimlibs' 'kdepim-runtime')
- cd $srcdir/build/console
- make DESTDIR=$pkgdir install
+ depends=('kdepim-runtime')
+ 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' 'kdebase-runtime')
+ depends=('kdepim-libkdepim')
url="http://kde.org/applications/office/kaddressbook/"
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
+ 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() {
pkgdesc='Personal Alarm Scheduler'
- depends=('kdepim-libkdepim' 'kdebase-runtime')
+ depends=('kdepim-libkdepim')
+ url="http://kde.org/applications/utilities/kalarm/"
install='kdepim.install'
- cd $srcdir/build/kalarm
- make DESTDIR=$pkgdir install
- cd $srcdir/build/doc/kalarm
- make DESTDIR=$pkgdir install
+ cd "${srcdir}"/build/kalarm
+ make DESTDIR="${pkgdir}" install
+ cd "${srcdir}"/build/doc/kalarm
+ make DESTDIR="${pkgdir}" install
}
package_kdepim-kjots() {
pkgdesc='Note Taker'
- depends=('kdebase-runtime' 'kdepimlibs' 'kdepim-runtime')
+ depends=('kdepim-libkdepim')
+ url="http://kde.org/applications/utilities/kjots/"
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
+ 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() {
pkgdesc='Certificate Manager and Unified Crypto GUI'
- depends=('kdepim-libkdepim' 'kdebase-runtime')
- cd $srcdir/build/kleopatra
- make DESTDIR=$pkgdir install
- cd $srcdir/build/doc/kleopatra
- make DESTDIR=$pkgdir install
+ depends=('kdepim-libkdepim')
+ url="http://kde.org/applications/utilities/kleopatra/"
+ install='kdepim-kleopatra.install'
+ cd "${srcdir}"/build/kleopatra
+ make DESTDIR="${pkgdir}" install
+ cd "${srcdir}"/build/doc/kleopatra
+ make DESTDIR="${pkgdir}" install
}
package_kdepim-kmail() {
pkgdesc='Mail Client'
- depends=('kdepim-libkdepim' 'kdebase-runtime')
+ depends=('kdepim-libkdepim')
url="http://kde.org/applications/internet/kmail/"
- install='kdepim.install'
+ 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')
- optdepends=('cyrus-sasl-plugins: CRAM-MD5 authentication')
- for i in kmail doc/kmail mimelib libksieve plugins/kmail ksendemail \
- kmailcvt ontologies kontact/plugins/kmail; do
- cd $srcdir/build/${i}
- make DESTDIR=$pkgdir install
+ optdepends=('cyrus-sasl-plugins: CRAM-MD5 authentication')
+ for i in kmail doc/kmail kmailcvt ksendemail libksieve mailcommon \
+ nepomuk_email_feeder ontologies templateparser kontact/plugins/kmail; do
+ cd "${srcdir}"/build/${i}
+ make DESTDIR="${pkgdir}" install
done
}
package_kdepim-knode() {
pkgdesc='News Reader'
- depends=('kdebase-runtime' 'kdepim-libkdepim')
+ depends=('kdepim-libkdepim')
url="http://kde.org/applications/internet/knode/"
install='kdepim.install'
- cd $srcdir/build/knode
- make DESTDIR=$pkgdir install
- cd $srcdir/build/doc/knode
- make DESTDIR=$pkgdir install
- cd $srcdir/build/kontact/plugins/knode
- make DESTDIR=$pkgdir install
+ cd "${srcdir}"/build/knode
+ make DESTDIR="${pkgdir}" install
+ cd "${srcdir}"/build/doc/knode
+ make DESTDIR="${pkgdir}" install
+ cd "${srcdir}"/build/kontact/plugins/knode
+ make DESTDIR="${pkgdir}" install
}
package_kdepim-knotes() {
pkgdesc='Popup Notes'
- depends=('kdepim-libkdepim' 'kdebase-runtime')
+ depends=('kdepim-libkdepim')
+ url="http://kde.org/applications/utilities/knotes/"
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
+ 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() {
pkgdesc='Personal Information Manager'
- depends=('kdebase-runtime' 'kdepim-korganizer')
+ 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/pics doc/kontact\
- kontact/plugins/summary; do
- cd $srcdir/build/${i}
- make DESTDIR=$pkgdir install
+ for i in kontact/src doc/kontact \
+ 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' 'kdebase-runtime')
+ depends=('kdepim-libkdepim')
url="http://kde.org/applications/office/korganizer"
- install='kdepim.install'
- cd $srcdir/build/korganizer
- make DESTDIR=$pkgdir install
- cd $srcdir/build/doc/korganizer
- make DESTDIR=$pkgdir install
- cd $srcdir/build/kontact/plugins/korganizer
- make DESTDIR=$pkgdir install
+ install='kdepim-korganizer.install'
+ cd "${srcdir}"/build/korganizer
+ make DESTDIR="${pkgdir}" install
+ cd "${srcdir}"/build/doc/korganizer
+ make DESTDIR="${pkgdir}" install
+ cd "${srcdir}"/build/kontact/plugins/korganizer
+ make DESTDIR="${pkgdir}" install
}
package_kdepim-kresources() {
pkgdesc='KDE PIM resources'
- depends=('kdebase-runtime' 'kdepim-libkdepim')
- cd $srcdir/build/kresources
- make DESTDIR=$pkgdir install
+ depends=('kdepim-libkdepim')
+ url='http://pim.kde.org'
+ cd "${srcdir}"/build/kresources
+ make DESTDIR="${pkgdir}" install
}
package_kdepim-ktimetracker() {
pkgdesc='Personal Time Tracker'
- depends=('kdebase-runtime' 'kdepim-kresources')
+ depends=('kdepim-kresources')
+ url="http://kde.org/applications/utilities/ktimetracker/"
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
+ 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-libkdepim() {
pkgdesc='Library for KDE PIM'
groups=()
- depends=('kdepimlibs' 'kde-agent' 'kdepim-runtime')
+ depends=('kde-agent' 'kdepim-runtime')
+ url='http://pim.kde.org'
conflicts=('kdepim-icons' 'kdepim-libkleo' 'kdepim-libkpgp'
'kdepim-strigi-analyzer' 'kdepim-akonadi')
replaces=('kdepim-icons' 'kdepim-libkleo' 'kdepim-libkpgp'
'kdepim-strigi-analyzer' 'kdepim-akonadi')
- for i in libkdepim icons libkleo libkpgp strigi-analyzer \
- messagecore messagelist messageviewer akonadi plugins/ktexteditor; do
- cd $srcdir/build/${i}
- make DESTDIR=$pkgdir install
+ for i in akonadi_next calendarsupport calendarviews incidenceeditor-ng \
+ kdgantt2 libkdepim libkdepimdbusinterfaces libkleo libkpgp \
+ messagecomposer messagecore messagelist messageviewer icons \
+ strigi-analyzer plugins/messageviewer plugins/ktexteditor; do
+ cd "${srcdir}"/build/${i}
+ make DESTDIR="${pkgdir}" install
done
}
package_kdepim-wizards() {
pkgdesc='KDE Groupware Wizard'
- depends=('kdebase-runtime' 'kdepim-libkdepim' 'kdepim-kresources')
- cd $srcdir/build/wizards
- make DESTDIR=$pkgdir install
+ depends=('kdepim-kresources')
+ url='http://pim.kde.org'
+ cd "${srcdir}"/build/wizards
+ make DESTDIR="${pkgdir}" install
}
diff --git a/extra/kdepim/disable-l10n.patch b/extra/kdepim/disable-l10n.patch
new file mode 100644
index 000000000..0c24ab408
--- /dev/null
+++ b/extra/kdepim/disable-l10n.patch
@@ -0,0 +1,10 @@
+--- kdepim-4.6.1/CMakeLists.txt~ 2011-07-06 19:17:16.801814825 +0000
++++ kdepim-4.6.1/CMakeLists.txt 2011-07-06 19:17:34.141961840 +0000
+@@ -425,7 +425,3 @@
+ endif(NOT QGPGME_FOUND)
+ # All done, let's display what we found...
+ macro_display_feature_log()
+-find_package(Msgfmt REQUIRED)
+-find_package(Gettext REQUIRED)
+-add_subdirectory(po)
+-add_subdirectory(doc-translations)
diff --git a/extra/kdepim/kdepim-kleopatra.install b/extra/kdepim/kdepim-kleopatra.install
new file mode 100644
index 000000000..81ce5c4b0
--- /dev/null
+++ b/extra/kdepim/kdepim-kleopatra.install
@@ -0,0 +1,12 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
diff --git a/extra/kdepim/kdepim-kmail.install b/extra/kdepim/kdepim-kmail.install
new file mode 100644
index 000000000..81ce5c4b0
--- /dev/null
+++ b/extra/kdepim/kdepim-kmail.install
@@ -0,0 +1,12 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
diff --git a/extra/kdepim/kdepim-korganizer.install b/extra/kdepim/kdepim-korganizer.install
new file mode 100644
index 000000000..81ce5c4b0
--- /dev/null
+++ b/extra/kdepim/kdepim-korganizer.install
@@ -0,0 +1,12 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}