diff options
-rw-r--r-- | pcr/kdepim-runtime-coherence/PKGBUILD | 35 | ||||
-rw-r--r-- | pcr/kdepim-runtime-coherence/kdepim-runtime.install | 13 |
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 +} |