summaryrefslogtreecommitdiff
path: root/nonprism/kdepim-runtime-nonprism
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-20 02:15:20 -0700
committerroot <root@rshg054.dnsready.net>2013-08-20 02:15:20 -0700
commit1ae31a85e191bbf7313077b472a66d1c24af1f74 (patch)
tree91f021858c2e33e1a6633c12b80e54105fd7500b /nonprism/kdepim-runtime-nonprism
parent26606f981048ee9efcda690b619d3c53501a7a58 (diff)
Tue Aug 20 02:14:51 PDT 2013
Diffstat (limited to 'nonprism/kdepim-runtime-nonprism')
-rw-r--r--nonprism/kdepim-runtime-nonprism/PKGBUILD39
-rw-r--r--nonprism/kdepim-runtime-nonprism/kdepim-runtime.install13
2 files changed, 52 insertions, 0 deletions
diff --git a/nonprism/kdepim-runtime-nonprism/PKGBUILD b/nonprism/kdepim-runtime-nonprism/PKGBUILD
new file mode 100644
index 000000000..38a0a1edc
--- /dev/null
+++ b/nonprism/kdepim-runtime-nonprism/PKGBUILD
@@ -0,0 +1,39 @@
+# $Id: PKGBUILD 192541 2013-08-13 18:47:05Z andrea $
+# 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-nonprism
+pkgver=4.11.0
+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=('kdepim-runtime' 'kdepim-runtime-coherence')
+conflicts=kdepim-runtime
+provides=kdepim-runtime=$pkgver
+source=("http://download.kde.org/stable/${pkgver}/src/${_pkgname}-${pkgver}.tar.xz")
+sha1sums=('ec2a45baf0c2c2ccea633b599a453db52b38dc75')
+
+prepare() {
+ mkdir build
+}
+
+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/nonprism/kdepim-runtime-nonprism/kdepim-runtime.install b/nonprism/kdepim-runtime-nonprism/kdepim-runtime.install
new file mode 100644
index 000000000..c77e68041
--- /dev/null
+++ b/nonprism/kdepim-runtime-nonprism/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
+}