Date: Saturday, January 17, 2015 @ 04:40:31
  Author: fyan
Revision: 229459

upgpkg: kdebase 14.12.1-2

- add konsolepart4 as optdepend to dolphin (FS#43474)
- cleanup the PKGBUILD a bit

Modified:
  kdebase/trunk/PKGBUILD

----------+
 PKGBUILD |   80 ++++++++++++++++++++++++++++++++++---------------------------
 1 file changed, 45 insertions(+), 35 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2015-01-16 21:28:57 UTC (rev 229458)
+++ PKGBUILD    2015-01-17 03:40:31 UTC (rev 229459)
@@ -14,7 +14,7 @@
          'kdebase-lib'
          'kdebase-plasma')
 pkgver=14.12.1
-pkgrel=1
+pkgrel=2
 arch=('i686' 'x86_64')
 url='http://www.kde.org'
 license=('GPL' 'LGPL' 'FDL')
@@ -41,41 +41,46 @@
        pkgdesc='File Manager'
        depends=('kdebase-runtime' 'kdebase-lib' 'baloo4-widgets')
        optdepends=('kdegraphics-svgpart: thumbailers for SVG files'
-                   'kdegraphics-thumbnailers: thumbnailers for various 
graphics files'
-            'kdemultimedia-ffmpegthumbs: thumbnailers for video files'
-            'kdemultimedia-mplayerthumbs: thumbnailers for video files'
-            'kdesdk-thumbnailers: thumbnailers for development files'
-            'icoutils: thumbnailers for MS files'
-                   'ruby: servicemenu installation')
+                   'kdegraphics-thumbnailers: thumbnailers for various 
graphics files'
+                   'kdemultimedia-ffmpegthumbs: thumbnailers for video files'
+                   'kdemultimedia-mplayerthumbs: thumbnailers for video files'
+                   'kdesdk-thumbnailers: thumbnailers for development files'
+                   'icoutils: thumbnailers for MS files'
+                   'ruby: servicemenu installation'
+                   'konsolepart4: open terminal in context menu')
        url="http://kde.org/applications/system/dolphin/";
        install=kdebase-dolphin.install
-       cd $srcdir/build/dolphin
-       make DESTDIR=$pkgdir install
-       cd $srcdir/build/doc/dolphin
-       make DESTDIR=$pkgdir install
+
+       cd "$srcdir"/build/dolphin
+       make DESTDIR="$pkgdir" install
+       cd "$srcdir"/build/doc/dolphin
+       make DESTDIR="$pkgdir" install
 }
 
 package_kdebase-kdepasswd() {
        pkgdesc='Change Password'
        depends=('kdebase-runtime' 'kdebase-lib')
-       cd $srcdir/build/kdepasswd
-       make DESTDIR=$pkgdir install
-       cd $srcdir/build/doc/kdepasswd
-       make DESTDIR=$pkgdir install
+
+       cd "$srcdir"/build/kdepasswd
+       make DESTDIR="$pkgdir" install
+       cd "$srcdir"/build/doc/kdepasswd
+       make DESTDIR="$pkgdir" install
 }
 
 package_kdebase-kdialog() {
        pkgdesc='A utility for displaying dialog boxes from shell scripts'
        depends=('kdebase-runtime')
-       cd $srcdir/build/kdialog
-       make DESTDIR=$pkgdir install
+
+       cd "$srcdir"/build/kdialog
+       make DESTDIR="$pkgdir" install
 }
 
 package_kdebase-keditbookmarks() {
        pkgdesc='Bookmark Organizer and Editor'
        depends=('kdebase-runtime')
-       cd $srcdir/build/keditbookmarks
-       make DESTDIR=$pkgdir install
+
+       cd "$srcdir"/build/keditbookmarks
+       make DESTDIR="$pkgdir" install
 }
 
 package_kdebase-kfind() {
@@ -83,10 +88,11 @@
        depends=('kdebase-runtime' 'kdebase-lib')
        url="http://kde.org/applications/utilities/kfind/";
        install='kdebase.install'
-       cd $srcdir/build/kfind
-       make DESTDIR=$pkgdir install
-       cd $srcdir/build/doc/kfind
-       make DESTDIR=$pkgdir install
+
+       cd "$srcdir"/build/kfind
+       make DESTDIR="$pkgdir" install
+       cd "$srcdir"/build/doc/kfind
+       make DESTDIR="$pkgdir" install
 }
 
 package_kdebase-konq-plugins() {
@@ -94,8 +100,9 @@
        depends=('kdebase-konqueror' 'tidyhtml')
        replaces=('konq-plugins')
        install='kdebase.install'
-       cd $srcdir/build/konq-plugins
-       make DESTDIR=$pkgdir install
+
+       cd "$srcdir"/build/konq-plugins
+       make DESTDIR="$pkgdir" install
 }
 
 package_kdebase-konqueror() {
@@ -104,12 +111,13 @@
        optdepends=('kwebkitpart: to enable webkit engine')
        url="http://kde.org/applications/internet/konqueror/";
        install='kdebase-konqueror.install'
-        conflicts=('kdebase-nsplugins')
-        replaces=('kdebase-nsplugins')
-        for i in konqueror doc/konqueror nsplugins; do
-              cd $srcdir/build/${i}
-              make DESTDIR=$pkgdir install
-        done
+       conflicts=('kdebase-nsplugins')
+       replaces=('kdebase-nsplugins')
+
+       for i in konqueror doc/konqueror nsplugins; do
+               cd "$srcdir"/build/${i}
+               make DESTDIR="$pkgdir" install
+       done
 }
 
 package_kdebase-lib() {
@@ -116,13 +124,15 @@
        pkgdesc='KDE libraries for the basic desktop applications'
        groups=()
        depends=('kdelibs')
-       cd $srcdir/build/lib
-       make DESTDIR=$pkgdir install
+
+       cd "$srcdir"/build/lib
+       make DESTDIR="$pkgdir" install
 }
 
 package_kdebase-plasma() {
        pkgdesc='Display the contents of folders (User“s home folder as 
default)'
        depends=('kdebase-workspace')
-       cd $srcdir/build/plasma
-       make DESTDIR=$pkgdir install
+
+       cd "$srcdir"/build/plasma
+       make DESTDIR="$pkgdir" install
 }

Reply via email to