Date: Monday, June 17, 2013 @ 22:42:36
  Author: andrea
Revision: 188686

Improve optdepends description (FS#35784)

Modified:
  kdebase-runtime/kde-unstable/PKGBUILD

----------+
 PKGBUILD |   19 +++++++++++--------
 1 file changed, 11 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2013-06-17 20:01:47 UTC (rev 188685)
+++ PKGBUILD    2013-06-17 20:42:36 UTC (rev 188686)
@@ -13,29 +13,32 @@
          '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')
+optdepends=('kdepimlibs: 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')
 install="${pkgname}.install"
 
source=("http://download.kde.org/unstable/${pkgver}/src/kde-runtime-${pkgver}.tar.xz";)
 sha1sums=('0c5ebc7d75ac54c95a87c0629119c840854ee274')
 
+prepare() {
+    mkdir build
+}
+
 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
+               -DWITH_QNtrack=OFF \
+        -DSAMBA_INCLUDE_DIR=/usr/include/samba-4.0
        make
 }
 
 package() {
-       cd "$srcdir/build"
+       cd build
        make DESTDIR="$pkgdir" install
        rm -f "${pkgdir}/usr/share/icons/hicolor/index.theme"
 

Reply via email to