summaryrefslogtreecommitdiff
path: root/libre
diff options
context:
space:
mode:
Diffstat (limited to 'libre')
-rw-r--r--libre/kdebase-runtime/PKGBUILD51
1 files changed, 29 insertions, 22 deletions
diff --git a/libre/kdebase-runtime/PKGBUILD b/libre/kdebase-runtime/PKGBUILD
index eadb1cf90..faf601f84 100644
--- a/libre/kdebase-runtime/PKGBUILD
+++ b/libre/kdebase-runtime/PKGBUILD
@@ -1,31 +1,23 @@
-# $Id: PKGBUILD 232526 2015-03-04 05:15:26Z fyan $
-# Maintainer (Arch): Andrea Scarpino <andrea@archlinux.org>
+# $Id: PKGBUILD 237270 2015-04-17 07:34:06Z 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=14.12.3
-pkgrel=1.parabola1
+pkgver=15.04.0
+pkgrel=3.parabola1
pkgdesc="Plugins and applications necessary for the running of KDE applications, without non-privacy search providers"
arch=('i686' 'x86_64' 'mips64el')
url='https://projects.kde.org/projects/kde/kde-runtime'
license=('GPL' 'LGPL')
-replaces=("${pkgname}-libre")
-conflicts=("${pkgname}-libre")
-depends=("kdelibs" 'kactivities' 'libkactivities4' 'smbclient' 'libssh' 'libcanberra'
- 'oxygen-icons' 'xorg-xauth' 'libwebp')
-makedepends=('pkg-config' 'cmake' 'automoc4' 'kdepimlibs' 'openslp' 'doxygen'
- 'networkmanager' 'boost')
-optdepends=('kdepimlibs: for kwalletd, and is needed by DrKonqi to send crash reports to KDE.org'
- 'gdb: needed by DrKonqi to generate backtrace'
- 'htdig: to build the search index in the KHelpCenter'
- 'rarian: needed by KHelpCenter')
-provides=('khelpcenter' 'notification-daemon')
-install="${pkgname}.install"
+makedepends=('kdelibs' 'libkactivities4' 'smbclient' 'libssh' 'libcanberra' 'libwebp'
+ 'pkg-config' 'cmake' 'automoc4' 'kdepimlibs' 'openslp' 'doxygen' 'networkmanager' 'boost')
source=("http://download.kde.org/stable/applications/${pkgver}/src/kde-runtime-${pkgver}.tar.xz"
'duckduckgo_html.desktop'
'duckduckgo_lite.desktop')
-sha1sums=('f597893c4801106d790b3beb17b213a91ee89b9a'
+sha1sums=('5cbfec48ead85a1cd3dab675b98623dd4a831d91'
'aa6f39f4b0ad3c110fd05cd6c41190afae9773dd'
'ac3bac94a2c4b1444642524bc5fb539c4c5dcc5b')
@@ -57,15 +49,30 @@ build() {
make
}
-package() {
+package_kdebase-runtime() {
+ depends=('kdelibs' 'kactivities' 'libkactivities4' 'smbclient' 'libssh' 'libcanberra'
+ 'oxygen-icons' 'xorg-xauth' 'libwebp')
+ optdepends=('kdepimlibs: for kwalletd, and is needed by DrKonqi to send crash reports to KDE.org' 'kdebase-runtime-doc: KDE4 documentation'
+ 'gdb: needed by DrKonqi to generate backtrace' 'khelpcenter: to display applications documentation')
+ replaces=("${pkgname}-libre")
+ conflicts=("${pkgname}-libre")
+ provides=('notification-daemon')
+ install=$pkgname.install
+
cd build
make DESTDIR="$pkgdir" install
rm "${pkgdir}"/usr/share/icons/hicolor/index.theme
- ln -sf /usr/lib/kde4/libexec/kdesu "${pkgdir}/usr/bin/"
+# 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}
- # FS#36668
- chown :nobody "${pkgdir}"/usr/lib/kde4/libexec/kdesud
- chmod g+s "${pkgdir}"/usr/lib/kde4/libexec/kdesud
+# Remove kdesu
+ rm "$pkgdir"/usr/lib/kde4/libexec/kdesu*
}