summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nonprism/kdepim-runtime/PKGBUILD39
-rw-r--r--nonprism/kdepim-runtime/kdepim-runtime.install13
2 files changed, 52 insertions, 0 deletions
diff --git a/nonprism/kdepim-runtime/PKGBUILD b/nonprism/kdepim-runtime/PKGBUILD
new file mode 100644
index 000000000..920cf85f6
--- /dev/null
+++ b/nonprism/kdepim-runtime/PKGBUILD
@@ -0,0 +1,39 @@
+# $Id: PKGBUILD 244411 2015-08-20 09:51:07Z arojas $
+# Maintainer (Arch): Felix Yan <felixonmars@archlinux.org>
+# Contributor (Arch): Andrea Scarpino <andrea@archlinux.org>
+# Contributor (Arch): Pierre Schmitz <pierre@archlinux.de>
+# Maintainer: André Silva <emulatorman@parabola.nu>
+
+pkgname=kdepim-runtime
+pkgver=15.08.0
+pkgrel=1.nonprism1
+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=(hicolor-icon-theme qt5-quick1 libkolab akonadi-socialutils akonadi-calendar
+ knotifyconfig kross kalarmcal kmbox kimap kde-syndication)
+makedepends=(extra-cmake-modules kdoctools boost)
+install=$pkgname.install
+source=("http://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz")
+sha1sums=('fcc9549bdacc25cb464a18efefcbacf7494dfd34')
+
+prepare() {
+ mkdir -p build
+}
+
+build() {
+ cd build
+ cmake ../$pkgname-$pkgver \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DBUILD_TESTING=OFF \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="$pkgdir" install
+}
diff --git a/nonprism/kdepim-runtime/kdepim-runtime.install b/nonprism/kdepim-runtime/kdepim-runtime.install
new file mode 100644
index 000000000..c77e68041
--- /dev/null
+++ b/nonprism/kdepim-runtime/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
+}