summaryrefslogtreecommitdiff
path: root/coherence/kdepim-runtime-coherence
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-08-16 21:00:05 -0300
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-08-16 21:00:05 -0300
commit804af9ecd9b9d1c3d47565790f3b150e9537e502 (patch)
tree0e49ff6a99692d350d8e8e1e6db21cf5a3107344 /coherence/kdepim-runtime-coherence
parent91f9d47ebc3609dc8603d15e1682fa80ba3d407f (diff)
downloadabslibre-804af9ecd9b9d1c3d47565790f3b150e9537e502.tar.gz
abslibre-804af9ecd9b9d1c3d47565790f3b150e9537e502.tar.bz2
abslibre-804af9ecd9b9d1c3d47565790f3b150e9537e502.zip
kdepim-runtime-coherence: move to coherence repo and add replaces line
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
+}