[arch-commits] Commit in kdebase-runtime/repos (3 files)

Andrea Scarpino andrea at nymeria.archlinux.org
Wed Jun 5 19:43:18 UTC 2013


    Date: Wednesday, June 5, 2013 @ 21:43:18
  Author: andrea
Revision: 187393

archrelease: copy trunk to staging-x86_64

Added:
  kdebase-runtime/repos/staging-x86_64/
  kdebase-runtime/repos/staging-x86_64/PKGBUILD
    (from rev 187392, kdebase-runtime/trunk/PKGBUILD)
  kdebase-runtime/repos/staging-x86_64/kdebase-runtime.install
    (from rev 187392, kdebase-runtime/trunk/kdebase-runtime.install)

-------------------------+
 PKGBUILD                |   43 +++++++++++++++++++++++++++++++++++++++++++
 kdebase-runtime.install |   13 +++++++++++++
 2 files changed, 56 insertions(+)

Copied: kdebase-runtime/repos/staging-x86_64/PKGBUILD (from rev 187392, kdebase-runtime/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2013-06-05 19:43:18 UTC (rev 187393)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Pierre Schmitz <pierre at archlinux.de>
+
+pkgname=kdebase-runtime
+pkgver=4.10.4
+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=("kdelibs>=${pkgver}" 'kactivities' 'smbclient' 'libssh' 'libcanberra' 'oxygen-icons'
+         'xorg-xauth')
+makedepends=('pkg-config' 'cmake' 'automoc4' 'kdepimlibs' 'openslp' 'doxygen'
+             'networkmanager')
+optdepends=('kdepimlibs: to generate drkonqi reports'
+            '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=('f406c8c9e42c2508a7acf88b9719f5fa5b4683a1')
+
+build() {
+	cd "${srcdir}"
+	mkdir build
+	cd build
+	cmake ../kde-runtime-${pkgver} \
+		-DCMAKE_BUILD_TYPE=Release \
+		-DKDE4_BUILD_TESTS=OFF \
+		-DCMAKE_SKIP_RPATH=ON \
+		-DCMAKE_INSTALL_PREFIX=/usr \
+		-DWITH_QNtrack=OFF -DSAMBA_INCLUDE_DIR=/usr/include/samba-4.0
+	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/"
+}

Copied: kdebase-runtime/repos/staging-x86_64/kdebase-runtime.install (from rev 187392, kdebase-runtime/trunk/kdebase-runtime.install)
===================================================================
--- staging-x86_64/kdebase-runtime.install	                        (rev 0)
+++ staging-x86_64/kdebase-runtime.install	2013-06-05 19:43:18 UTC (rev 187393)
@@ -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
+}




More information about the arch-commits mailing list