summaryrefslogtreecommitdiff
path: root/extra/kdepim
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /extra/kdepim
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'extra/kdepim')
-rw-r--r--extra/kdepim/PKGBUILD237
-rw-r--r--extra/kdepim/kdepim.install11
2 files changed, 248 insertions, 0 deletions
diff --git a/extra/kdepim/PKGBUILD b/extra/kdepim/PKGBUILD
new file mode 100644
index 000000000..7f70930ed
--- /dev/null
+++ b/extra/kdepim/PKGBUILD
@@ -0,0 +1,237 @@
+# $Id: PKGBUILD 107973 2011-01-28 08:28:57Z andrea $
+# 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-libkdepim'
+ 'kdepim-wizards')
+pkgver=4.4.10
+pkgrel=1
+arch=('i686' 'x86_64')
+url='http://www.kde.org'
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde' 'kdepim')
+makedepends=('pkgconfig' 'cmake' 'automoc4' 'boost' 'kdepim-runtime' 'libxss'
+ 'pilot-link' 'kde-agent' 'docbook-xsl')
+source=("http://download.kde.org/stable/${pkgbase}-${pkgver}/src/${pkgbase}-${pkgver}.tar.bz2")
+sha1sums=('b9c45e80dddc3bff201df6ddd76fdf4f1f18d5c3')
+
+build() {
+ cd ${srcdir}
+ mkdir build
+ cd build
+ cmake ../${pkgbase}-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_SKIP_RPATH=ON \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package_kdepim-akonadiconsole() {
+ pkgdesc='Akonadi Management and Debugging Console'
+ depends=('kdepim-libkdepim' 'kdebase-runtime')
+ install='kdepim.install'
+ cd $srcdir/build/akonadiconsole
+ make DESTDIR=$pkgdir install
+}
+
+package_kdepim-akregator() {
+ pkgdesc='A Feed Reader for KDE'
+ depends=('kdepim-libkdepim' 'kdebase-runtime')
+ 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
+}
+
+package_kdepim-blogilo() {
+ pkgdesc='A KDE Blogging Client'
+ depends=('kdebase-runtime' 'kdepimlibs' '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
+}
+
+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
+}
+
+package_kdepim-kaddressbook() {
+ pkgdesc='Contact Manager'
+ depends=('kdepim-libkdepim' 'kdebase-runtime')
+ 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
+}
+
+package_kdepim-kalarm() {
+ pkgdesc='Personal Alarm Scheduler'
+ depends=('kdepim-libkdepim' 'kdebase-runtime')
+ install='kdepim.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')
+ 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
+}
+
+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
+}
+
+package_kdepim-kmail() {
+ pkgdesc='Mail Client'
+ depends=('kdepim-libkdepim' 'kdebase-runtime')
+ url="http://kde.org/applications/internet/kmail/"
+ install='kdepim.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 doc/kmail mimelib libksieve plugins/kmail ksendemail \
+ kmailcvt ontologies kontact/plugins/kmail; do
+ cd $srcdir/build/${i}
+ make DESTDIR=$pkgdir install
+ done
+}
+
+package_kdepim-knode() {
+ pkgdesc='News Reader'
+ depends=('kdebase-runtime' '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
+}
+
+package_kdepim-knotes() {
+ pkgdesc='Popup Notes'
+ depends=('kdepim-libkdepim' 'kdebase-runtime')
+ 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
+}
+
+package_kdepim-kontact() {
+ pkgdesc='Personal Information Manager'
+ depends=('kdebase-runtime' 'kdepim-korganizer')
+ 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
+ done
+}
+
+package_kdepim-korganizer() {
+ pkgdesc='Calendar and Scheduling Program'
+ depends=('kdepim-libkdepim' 'kdebase-runtime')
+ 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
+}
+
+package_kdepim-kresources() {
+ pkgdesc='KDE PIM resources'
+ depends=('kdebase-runtime' 'kdepim-libkdepim')
+ cd $srcdir/build/kresources
+ make DESTDIR=$pkgdir install
+}
+
+package_kdepim-ktimetracker() {
+ pkgdesc='Personal Time Tracker'
+ depends=('kdebase-runtime' 'kdepim-kresources')
+ 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
+}
+
+package_kdepim-libkdepim() {
+ pkgdesc='Library for KDE PIM'
+ groups=()
+ depends=('kdepimlibs' 'kde-agent' 'kdepim-runtime')
+ 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
+ done
+}
+
+package_kdepim-wizards() {
+ pkgdesc='KDE Groupware Wizard'
+ depends=('kdebase-runtime' 'kdepim-libkdepim' 'kdepim-kresources')
+ cd $srcdir/build/wizards
+ make DESTDIR=$pkgdir install
+}
diff --git a/extra/kdepim/kdepim.install b/extra/kdepim/kdepim.install
new file mode 100644
index 000000000..e70c054ec
--- /dev/null
+++ b/extra/kdepim/kdepim.install
@@ -0,0 +1,11 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}