summaryrefslogtreecommitdiff
path: root/nonprism/kdepim-runtime
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-08-24 04:02:51 -0300
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2015-08-28 18:37:19 -0300
commita843148eb914779a260efb8a2dd3b7bb0828ac9e (patch)
treefa545c55c7183142d7a39b2a10f0ae5965b47e35 /nonprism/kdepim-runtime
parent92c482ba573e5d5da9eae747413b8991c4139aba (diff)
kdepim-runtime-15.08.0-1.nonprism1: updating version
Diffstat (limited to 'nonprism/kdepim-runtime')
-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
+}