diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /kde-unstable/kdepim-runtime |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'kde-unstable/kdepim-runtime')
-rw-r--r-- | kde-unstable/kdepim-runtime/PKGBUILD | 38 | ||||
-rw-r--r-- | kde-unstable/kdepim-runtime/disable-l10n.patch | 10 | ||||
-rw-r--r-- | kde-unstable/kdepim-runtime/kdepim-runtime.install | 12 |
3 files changed, 60 insertions, 0 deletions
diff --git a/kde-unstable/kdepim-runtime/PKGBUILD b/kde-unstable/kdepim-runtime/PKGBUILD new file mode 100644 index 000000000..4aa696cfe --- /dev/null +++ b/kde-unstable/kdepim-runtime/PKGBUILD @@ -0,0 +1,38 @@ +# $Id: PKGBUILD 99527 2010-11-14 22:37:20Z andrea $ +# Maintainer: Andrea Scarpino <andrea@archlinux.org> +# Contributor: Pierre Schmitz <pierre@archlinux.de> + +pkgname=kdepim-runtime +pkgver=4.5.94.1 +pkgrel=2 +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/unstable/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2") +source=("http://download.kde.org/unstable/kdepim/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2" + 'disable-l10n.patch') +sha1sums=('f226165cd7f92524be354329097e5009b5754046' + '991d81435205185dcb2285a6e728f7756ae92b0d') + +build() { + cd "${srcdir}"/${pkgname}-${pkgver} + patch -Np0 -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/kde-unstable/kdepim-runtime/disable-l10n.patch b/kde-unstable/kdepim-runtime/disable-l10n.patch new file mode 100644 index 000000000..3ac9bc0e5 --- /dev/null +++ b/kde-unstable/kdepim-runtime/disable-l10n.patch @@ -0,0 +1,10 @@ +--- CMakeLists.txt~ 2011-01-30 06:27:14.403350537 -0800 ++++ CMakeLists.txt 2011-01-30 06:27:58.130017204 -0800 +@@ -192,7 +192,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/kde-unstable/kdepim-runtime/kdepim-runtime.install b/kde-unstable/kdepim-runtime/kdepim-runtime.install new file mode 100644 index 000000000..ce5c32e1b --- /dev/null +++ b/kde-unstable/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 |