diff options
author | root <root@rshg054.dnsready.net> | 2011-10-31 23:14:48 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-10-31 23:14:48 +0000 |
commit | 560562e36a27da267f2f4f7989806790192888ef (patch) | |
tree | f2ce7f5442dd17943646b3844614c48750704018 /staging/kdepim-runtime | |
parent | f935ebf41c626e4832f86c5f3f7ed1cc35128f6b (diff) |
Mon Oct 31 23:14:48 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..a6e0c518c --- /dev/null +++ b/staging/kdepim-runtime/PKGBUILD @@ -0,0 +1,32 @@ +# $Id: PKGBUILD 141504 2011-10-31 03:29:29Z andrea $ +# Maintainer: Andrea Scarpino <andrea@archlinux.org> +# Contributor: Pierre Schmitz <pierre@archlinux.de> + +pkgname=kdepim-runtime +pkgver=4.7.3 +pkgrel=1 +pkgdesc='KDE PIM Runtime Environment' +arch=('i686' 'x86_64') +url='http://www.kde.org' +license=('GPL' 'LGPL' 'FDL') +depends=('kdepimlibs' 'kdebase-runtime') +makedepends=('pkgconfig' 'cmake' 'automoc4' 'boost') +install=${pkgname}.install +source=("http://download.kde.org/stable/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2") +sha1sums=('fa0e336e17f7abea1e36d28d941a4ef79b4e4635') + +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 |