summaryrefslogtreecommitdiff
path: root/kde-unstable/kdebase-runtime
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-05-31 00:03:48 +0000
committerroot <root@rshg054.dnsready.net>2012-05-31 00:03:48 +0000
commitf1ae949e08a764ac063703dc9bb7f0afd7c16e96 (patch)
treeb542ace0cdaf945c5e495f31e3c87537017c614d /kde-unstable/kdebase-runtime
parentf676c2f568b9c75daa3e2b688978b877f950953d (diff)
Thu May 31 00:03:48 UTC 2012
Diffstat (limited to 'kde-unstable/kdebase-runtime')
-rw-r--r--kde-unstable/kdebase-runtime/PKGBUILD44
-rw-r--r--kde-unstable/kdebase-runtime/kdebase-runtime.install13
2 files changed, 57 insertions, 0 deletions
diff --git a/kde-unstable/kdebase-runtime/PKGBUILD b/kde-unstable/kdebase-runtime/PKGBUILD
new file mode 100644
index 000000000..a05f08eda
--- /dev/null
+++ b/kde-unstable/kdebase-runtime/PKGBUILD
@@ -0,0 +1,44 @@
+# $Id: PKGBUILD 160082 2012-05-29 22:21:05Z andrea $
+# Maintainer: Andrea Scarpino <andrea@archlinux.org>
+# Contributor: Pierre Schmitz <pierre@archlinux.de>
+
+pkgname=kdebase-runtime
+pkgver=4.8.80
+pkgrel=1
+pkgdesc="Plugins and applications necessary for the running of KDE applications"
+arch=('i686' 'x86_64')
+url='https://projects.kde.org/projects/kde/kde-runtime'
+license=('GPL' 'LGPL')
+depends=('kdepimlibs' 'nepomuk-core' 'smbclient' 'libssh' 'libcanberra' 'oxygen-icons'
+'xorg-xauth' 'kactivities')
+makedepends=('pkg-config' 'cmake' 'automoc4' 'openslp' 'doxygen' 'networkmanager')
+optdepends=('htdig: to build the search index in khelpcenter'
+ 'rarian: needed by khelpcenter'
+ 'gdb: drkonq crash handler')
+install="${pkgname}.install"
+source=("http://download.kde.org/unstable/${pkgver}/src/kde-runtime-${pkgver}.tar.xz")
+sha1sums=('2ef106862e33a8fc2b936a875ab87e581d25d2ee')
+
+build() {
+ cd "${srcdir}"
+ mkdir build
+ cd build
+ cmake ../kde-runtime-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_SKIP_RPATH=ON \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DWITH_QNtrack=OFF \
+ -DWITH_Xine=OFF
+ make
+}
+
+package() {
+ cd "$srcdir/build"
+ make DESTDIR="$pkgdir" install
+ rm -f "${pkgdir}/usr/share/icons/hicolor/index.theme"
+
+ ln -sf /usr/lib/kde4/libexec/kdesu "${pkgdir}/usr/bin/"
+
+ # Fix conflict
+ rm "${pkgdir}"/usr/lib/libnepomukcommon.so
+}
diff --git a/kde-unstable/kdebase-runtime/kdebase-runtime.install b/kde-unstable/kdebase-runtime/kdebase-runtime.install
new file mode 100644
index 000000000..c77e68041
--- /dev/null
+++ b/kde-unstable/kdebase-runtime/kdebase-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
+}