diff options
author | root <root@rshg047.dnsready.net> | 2011-06-08 22:47:34 +0000 |
---|---|---|
committer | root <root@rshg047.dnsready.net> | 2011-06-08 22:47:34 +0000 |
commit | 498f3fc095103b2a220a00b27d43f4dae02d5459 (patch) | |
tree | 55388e1d28b8932880c45fa77f1b4547f521f8df /staging/kdepim-runtime | |
parent | 4d91fc9a2dc38054b8748f27193dc3a6950bda3c (diff) |
Wed Jun 8 22:47:33 UTC 2011
Diffstat (limited to 'staging/kdepim-runtime')
-rw-r--r-- | staging/kdepim-runtime/PKGBUILD | 32 | ||||
-rw-r--r-- | staging/kdepim-runtime/kdepim-runtime.install | 12 |
2 files changed, 44 insertions, 0 deletions
diff --git a/staging/kdepim-runtime/PKGBUILD b/staging/kdepim-runtime/PKGBUILD new file mode 100644 index 000000000..0b0e8fb96 --- /dev/null +++ b/staging/kdepim-runtime/PKGBUILD @@ -0,0 +1,32 @@ +# $Id: PKGBUILD 126741 2011-06-07 06:22:29Z andrea $ +# Maintainer: Andrea Scarpino <andrea@archlinux.org> +# Contributor: Pierre Schmitz <pierre@archlinux.de> + +pkgname=kdepim-runtime +pkgver=4.6.0 +pkgrel=1 +pkgdesc='KDE PIM Runtime Environment' +arch=('i686' 'x86_64') +url='http://pim.kde.org' +license=('GPL' 'LGPL' 'FDL') +depends=('kdepimlibs' 'kdebase-runtime') +makedepends=('pkgconfig' 'cmake' 'automoc4' 'boost') +install=${pkgname}.install +source=("http://download.kde.org/stable/kdepim-${pkgver}/src/${pkgname}-${pkgver}.tar.bz2") +sha1sums=('2a2e29ba805ae2c94fa4da6371693e59575d3ed8') + +build() { + cd "${srcdir}" + mkdir build + cd build + cmake ../${pkgname}-${pkgver} \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_SKIP_RPATH=ON \ + -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package() { + cd "${srcdir}"/build + make DESTDIR="${pkgdir}" install +} diff --git a/staging/kdepim-runtime/kdepim-runtime.install b/staging/kdepim-runtime/kdepim-runtime.install new file mode 100644 index 000000000..ce5c32e1b --- /dev/null +++ b/staging/kdepim-runtime/kdepim-runtime.install @@ -0,0 +1,12 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null + update-mime-database usr/share/mime &> /dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +}
\ No newline at end of file |