summaryrefslogtreecommitdiff
path: root/libre/kdebase-runtime/PKGBUILD
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-11-11 13:07:07 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-11-11 14:07:31 -0300
commitf823fabdb8dcb156764136f316b5e898f245eedd (patch)
treeb681c25f45d5b41535f3083dc269295d85b98412 /libre/kdebase-runtime/PKGBUILD
parent05b0a9a7c0c06ea543b89e1907e06b4f6a74bc24 (diff)
kdebase-runtime-15.08.3-1.parabola1: updating version
Diffstat (limited to 'libre/kdebase-runtime/PKGBUILD')
-rw-r--r--libre/kdebase-runtime/PKGBUILD51
1 files changed, 21 insertions, 30 deletions
diff --git a/libre/kdebase-runtime/PKGBUILD b/libre/kdebase-runtime/PKGBUILD
index 459036b9d..6e0e42d7a 100644
--- a/libre/kdebase-runtime/PKGBUILD
+++ b/libre/kdebase-runtime/PKGBUILD
@@ -1,23 +1,28 @@
-# $Id: PKGBUILD 248965 2015-10-13 06:35:19Z arojas $
+# $Id: PKGBUILD 250288 2015-11-09 21:13:39Z arojas $
# Maintainer (Arch): Felix Yan <felixonmars@archlinux.org>
# Contributor (Arch): Andrea Scarpino <andrea@archlinux.org>
# Contributor (Arch): Pierre Schmitz <pierre@archlinux.de>
# Maintainer: André Silva <emulatorman@parabola.nu>
-pkgbase=kdebase-runtime
pkgname=kdebase-runtime
-pkgver=15.08.2
+pkgver=15.08.3
pkgrel=1.parabola1
pkgdesc="Plugins and applications necessary for the running of KDE applications, without non-privacy search engines"
arch=('i686' 'x86_64')
url='https://projects.kde.org/projects/kde/kde-runtime'
license=('GPL' 'LGPL')
-makedepends=('kdelibs' 'libkactivities4' 'smbclient' 'libssh' 'libcanberra' 'libwebp'
- 'pkg-config' 'cmake' 'automoc4' 'kdepimlibs4' 'openslp' 'doxygen' 'networkmanager' 'boost')
+makedepends=('pkg-config' 'cmake' 'automoc4' 'kdepimlibs4' 'openslp' 'doxygen' 'networkmanager' 'boost')
+depends=('libkactivities4' 'smbclient' 'libssh' 'libcanberra' 'oxygen-icons' 'xorg-xauth' 'libwebp')
+optdepends=('kdepimlibs4: for kwalletd, and is needed by DrKonqi to send crash reports to KDE.org'
+ 'gdb: needed by DrKonqi to generate backtrace' 'khelpcenter: to display applications documentation')
+provides=(notification-daemon)
+conflicts=(kdesu4)
+replaces=(kdesu4)
+install=$pkgname.install
source=("http://download.kde.org/stable/applications/${pkgver}/src/kde-runtime-${pkgver}.tar.xz"
'duckduckgo_html.desktop'
'duckduckgo_lite.desktop')
-sha1sums=('51ff136a75dcc3e706a9634c698e2b9d5493df1a'
+sha1sums=('edc6a2d454aed325b6c8c8f962e67ff8aeb9f8bf'
'aa6f39f4b0ad3c110fd05cd6c41190afae9773dd'
'ac3bac94a2c4b1444642524bc5fb539c4c5dcc5b')
@@ -38,41 +43,27 @@ prepare() {
build() {
cd build
- cmake ../kde-runtime-${pkgver} \
+ 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 \
- -DWITH_NepomukCore=OFF
+ -DWITH_NepomukCore=OFF \
+ -DBUILD_khelpcenter=OFF \
+ -DBUILD_doc=OFF
make
}
-package_kdebase-runtime() {
- depends=('kdelibs' 'kactivities' 'libkactivities4' 'smbclient' 'libssh' 'libcanberra'
- 'oxygen-icons' 'xorg-xauth' 'libwebp')
- optdepends=('kdepimlibs4: for kwalletd, and is needed by DrKonqi to send crash reports to KDE.org'
- 'gdb: needed by DrKonqi to generate backtrace' 'khelpcenter: to display applications documentation')
- replaces=("${pkgname}-libre")
- conflicts=("${pkgname}-libre")
- provides=('notification-daemon')
- install=$pkgname.install
-
+package() {
cd build
make DESTDIR="$pkgdir" install
- rm "${pkgdir}"/usr/share/icons/hicolor/index.theme
-
-# Remove khelpcenter
- cd "$pkgdir"
- find -name '*khelpcenter*' | xargs rm -fr
- find -name 'khc*' | xargs rm -fr
- rm usr/share/applications/kde4/Help.desktop
-
-# Remove docs
- rm -r "$pkgdir"/usr/share/{doc,man}
+ rm "$pkgdir"/usr/share/icons/hicolor/index.theme
+ ln -s /usr/lib/kde4/libexec/kdesu "$pkgdir"/usr/bin/kdesu4
-# Remove kdesu
- rm "$pkgdir"/usr/lib/kde4/libexec/kdesu*
+# FS#36668
+ chown :nobody "$pkgdir"/usr/lib/kde4/libexec/kdesud
+ chmod g+s "$pkgdir"/usr/lib/kde4/libexec/kdesud
}