summaryrefslogtreecommitdiff
path: root/testing/kdebase-runtime
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-08-03 00:01:47 +0000
committerroot <root@rshg054.dnsready.net>2012-08-03 00:01:47 +0000
commit92bafb5f0efc526b1f83cd5fb9460443c4b13dca (patch)
treea762a2b1551bff9d77cf7a44a75f915fb074c1a2 /testing/kdebase-runtime
parentf003ac1c96d76f4e3a2b93f988e1effce6771052 (diff)
Fri Aug 3 00:01:47 UTC 2012
Diffstat (limited to 'testing/kdebase-runtime')
-rw-r--r--testing/kdebase-runtime/PKGBUILD41
-rw-r--r--testing/kdebase-runtime/kdebase-runtime.install13
2 files changed, 54 insertions, 0 deletions
diff --git a/testing/kdebase-runtime/PKGBUILD b/testing/kdebase-runtime/PKGBUILD
new file mode 100644
index 000000000..4634e8713
--- /dev/null
+++ b/testing/kdebase-runtime/PKGBUILD
@@ -0,0 +1,41 @@
+# $Id: PKGBUILD 164527 2012-08-01 14:35:01Z andrea $
+# Maintainer: Andrea Scarpino <andrea@archlinux.org>
+# Contributor: Pierre Schmitz <pierre@archlinux.de>
+
+pkgname=kdebase-runtime
+pkgver=4.9.0
+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/stable/${pkgver}/src/kde-runtime-${pkgver}.tar.xz")
+sha1sums=('89a9e5c7e52cb925217b45a568a354cc041bc28d')
+
+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/"
+}
diff --git a/testing/kdebase-runtime/kdebase-runtime.install b/testing/kdebase-runtime/kdebase-runtime.install
new file mode 100644
index 000000000..c77e68041
--- /dev/null
+++ b/testing/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
+}