From 75b1bc45a0e39074e42b6a26a9f72ac2e049bdc1 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 7 Jul 2011 04:59:01 +0000 Subject: Thu Jul 7 04:59:01 UTC 2011 --- staging/kdepim-runtime/PKGBUILD | 37 +++++++++++++++++++++++++++ staging/kdepim-runtime/disable-l10n.patch | 10 ++++++++ staging/kdepim-runtime/kdepim-runtime.install | 13 ++++++++++ 3 files changed, 60 insertions(+) create mode 100644 staging/kdepim-runtime/PKGBUILD create mode 100644 staging/kdepim-runtime/disable-l10n.patch create mode 100644 staging/kdepim-runtime/kdepim-runtime.install (limited to 'staging/kdepim-runtime') diff --git a/staging/kdepim-runtime/PKGBUILD b/staging/kdepim-runtime/PKGBUILD new file mode 100644 index 000000000..c53892f01 --- /dev/null +++ b/staging/kdepim-runtime/PKGBUILD @@ -0,0 +1,37 @@ +# $Id: PKGBUILD 130494 2011-07-06 23:34:26Z andrea $ +# Maintainer: Andrea Scarpino +# Contributor: Pierre Schmitz + +pkgname=kdepim-runtime +pkgver=4.6.1 +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" + 'disable-l10n.patch') +sha1sums=('e416ffd0142c720a779b4eb2e4a841ca751efdce' + 'd4f8c39911cf288973a30d4b71087906ebb26359') + +build() { + cd "${srcdir}"/${pkgname}-${pkgver} + patch -p1 -i "${srcdir}"/disable-l10n.patch + + 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/disable-l10n.patch b/staging/kdepim-runtime/disable-l10n.patch new file mode 100644 index 000000000..b49cd54a8 --- /dev/null +++ b/staging/kdepim-runtime/disable-l10n.patch @@ -0,0 +1,10 @@ +--- kdepim-runtime-4.6.0/CMakeLists.txt~ 2011-06-10 16:49:12.130427269 +0000 ++++ kdepim-runtime-4.6.0/CMakeLists.txt 2011-06-10 16:56:52.871414776 +0000 +@@ -194,7 +194,3 @@ + update_xdg_mimetypes(${XDG_MIME_INSTALL_DIR}) + + macro_display_feature_log() +- +-find_package(Msgfmt REQUIRED) +-find_package(Gettext REQUIRED) +-add_subdirectory(po) diff --git a/staging/kdepim-runtime/kdepim-runtime.install b/staging/kdepim-runtime/kdepim-runtime.install new file mode 100644 index 000000000..c77e68041 --- /dev/null +++ b/staging/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 +} -- cgit v1.2.3-54-g00ecf