summaryrefslogtreecommitdiff
path: root/coherence/kdepim-runtime-coherence
diff options
context:
space:
mode:
Diffstat (limited to 'coherence/kdepim-runtime-coherence')
-rw-r--r--coherence/kdepim-runtime-coherence/PKGBUILD36
-rw-r--r--coherence/kdepim-runtime-coherence/kdepim-runtime.install13
2 files changed, 49 insertions, 0 deletions
diff --git a/coherence/kdepim-runtime-coherence/PKGBUILD b/coherence/kdepim-runtime-coherence/PKGBUILD
new file mode 100644
index 000000000..7fa4c0a00
--- /dev/null
+++ b/coherence/kdepim-runtime-coherence/PKGBUILD
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea@archlinux.org>
+# Contributor: Pierre Schmitz <pierre@archlinux.de>
+# Maintainer (Parabola): André Silva <emulatorman@parabola.nu>
+
+_pkgname=kdepim-runtime
+pkgname=kdepim-runtime-coherence
+pkgver=4.10.5
+pkgrel=1
+pkgdesc='Extends the functionality of kdepim, without libkgapi support'
+arch=('i686' 'x86_64')
+url='https://projects.kde.org/projects/kde/kdepim-runtime'
+license=('GPL' 'LGPL' 'FDL')
+depends=('kdebase-runtime' 'libkolab')
+makedepends=('cmake' 'automoc4' 'boost')
+install="${_pkgname}.install"
+replaces=$_pkgname
+conflicts=$_pkgname
+provides=$_pkgname=$pkgver
+source=("http://download.kde.org/stable/${pkgver}/src/${_pkgname}-${pkgver}.tar.xz")
+sha1sums=('f0b18cd320973c02d9b52cce9f4f424cb868d7fb')
+
+build() {
+ mkdir build
+ cd build
+ cmake ../${_pkgname}-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DKDE4_BUILD_TESTS=OFF \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="${pkgdir}" install
+}
diff --git a/coherence/kdepim-runtime-coherence/kdepim-runtime.install b/coherence/kdepim-runtime-coherence/kdepim-runtime.install
new file mode 100644
index 000000000..c77e68041
--- /dev/null
+++ b/coherence/kdepim-runtime-coherence/kdepim-runtime.install
@@ -0,0 +1,13 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+ update-mime-database usr/share/mime &> /dev/null
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}