summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-08-16 16:34:11 -0300
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-08-16 16:34:11 -0300
commit49cdc440e0aa6481f70846ad33964ff9c1beaf66 (patch)
tree0969bccd57cd13dc6d10570198d304015f3bc6aa /pcr
parent89362b65a209162e22b481d5a8563fce36a85319 (diff)
downloadabslibre-49cdc440e0aa6481f70846ad33964ff9c1beaf66.tar.gz
abslibre-49cdc440e0aa6481f70846ad33964ff9c1beaf66.tar.bz2
abslibre-49cdc440e0aa6481f70846ad33964ff9c1beaf66.zip
add kdepim-runtime-coherence to pcr repo
Diffstat (limited to 'pcr')
-rw-r--r--pcr/kdepim-runtime-coherence/PKGBUILD35
-rw-r--r--pcr/kdepim-runtime-coherence/kdepim-runtime.install13
2 files changed, 48 insertions, 0 deletions
diff --git a/pcr/kdepim-runtime-coherence/PKGBUILD b/pcr/kdepim-runtime-coherence/PKGBUILD
new file mode 100644
index 000000000..d3352d8a4
--- /dev/null
+++ b/pcr/kdepim-runtime-coherence/PKGBUILD
@@ -0,0 +1,35 @@
+# $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"
+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/pcr/kdepim-runtime-coherence/kdepim-runtime.install b/pcr/kdepim-runtime-coherence/kdepim-runtime.install
new file mode 100644
index 000000000..c77e68041
--- /dev/null
+++ b/pcr/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
+}