diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-09-03 06:57:55 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-09-03 06:57:55 -0300 |
commit | 588fad3f4ac69a1234341ffd3c2b3cd2b1d020c2 (patch) | |
tree | d43ec3a35b5631bfb65a8d381f34b23270e6907a /nonprism/kdepim-runtime | |
parent | 4ae5aae85842d364d28b0ae2ac0ad40bec3a778a (diff) |
kde packages: remove libre and nonprism suffixes, add complex pkgrel
Diffstat (limited to 'nonprism/kdepim-runtime')
-rw-r--r-- | nonprism/kdepim-runtime/PKGBUILD | 37 | ||||
-rw-r--r-- | nonprism/kdepim-runtime/kdepim-runtime.install | 13 |
2 files changed, 50 insertions, 0 deletions
diff --git a/nonprism/kdepim-runtime/PKGBUILD b/nonprism/kdepim-runtime/PKGBUILD new file mode 100644 index 000000000..fd33567cd --- /dev/null +++ b/nonprism/kdepim-runtime/PKGBUILD @@ -0,0 +1,37 @@ +# $Id: PKGBUILD 220565 2014-08-22 17:27:51Z andrea $ +# Maintainer (Arch): Andrea Scarpino <andrea@archlinux.org> +# Contributor (Arch): Pierre Schmitz <pierre@archlinux.de> +# Maintainer: André Silva <emulatorman@parabola.nu> + +pkgname=kdepim-runtime +pkgver=4.14.0 +pkgrel=3.nonprism1 +pkgdesc='Extends the functionality of kdepim, without libkgapi and libkfbapi support' +arch=('i686' 'x86_64' 'mips64el') +url='https://projects.kde.org/projects/kde/kdepim-runtime' +license=('GPL' 'LGPL' 'FDL') +depends=('kdebase-runtime' 'libkolab' 'libaccounts-qt' 'signon') +makedepends=('cmake' 'automoc4' 'boost') +install="${pkgname}.install" +replaces=('kdepim-runtime-coherence' 'kdepim-runtime-nonprism') +conflicts=(kdepim-runtime-nonprism) +source=("http://download.kde.org/stable/${pkgver}/src/${pkgname}-${pkgver}.tar.xz") +sha1sums=('6cb3b92d57343872ddfc6ba24b5ebdd005126fa2') + +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/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 +} |