From 49cdc440e0aa6481f70846ad33964ff9c1beaf66 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Fri, 16 Aug 2013 16:34:11 -0300 Subject: add kdepim-runtime-coherence to pcr repo --- pcr/kdepim-runtime-coherence/PKGBUILD | 35 ++++++++++++++++++++++ .../kdepim-runtime.install | 13 ++++++++ 2 files changed, 48 insertions(+) create mode 100644 pcr/kdepim-runtime-coherence/PKGBUILD create mode 100644 pcr/kdepim-runtime-coherence/kdepim-runtime.install 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 +# Contributor: Pierre Schmitz +# Maintainer (Parabola): André Silva + +_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 +} -- cgit v1.2.3