git » kate.git » commit 7e0fb51

plasma-framework is needed only for the applet

author Andrea Scarpino
2015-01-27 18:03:36 UTC
committer Andrea Scarpino
2015-01-27 18:03:36 UTC
parent 8d777cdfdc511408def46147fb989eefe0921278

plasma-framework is needed only for the applet

PKGBUILD +7 -7

diff --git a/PKGBUILD b/PKGBUILD
index 0570471..15ca72e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,13 +5,13 @@ pkgbase=kate
 pkgname=('kwrite'
          'kate')
 pkgver=14.12.1
-pkgrel=3
+pkgrel=4
 arch=('i686' 'x86_64')
 license=('GPL' 'LGPL' 'FDL')
-depends=('knewstuff' 'ktexteditor' 'plasma-framework' 'threadweaver' 'kded' 'kitemmodels')
-makedepends=('extra-cmake-modules' 'kdoctools' 'python')
+depends=('knewstuff' 'ktexteditor' 'threadweaver' 'kded' 'kitemmodels')
+makedepends=('extra-cmake-modules' 'kdoctools' 'python' 'plasma-framework')
 optdepends=('kio-extras: extra protocols support (sftp, fish and more)')
-source=("http://download.kde.org/stable/applications/${pkgver}/src/kate-${pkgver}.tar.xz")
+source=("http://download.kde.org/stable/applications/${pkgver}/src/${pkgbase}-${pkgver}.tar.xz")
 sha1sums=('e7097f07f9876c44e482a88d7fdae0db92aa2359')
 
 prepare() {
@@ -20,13 +20,13 @@ prepare() {
 
 build() {
   cd build
-  cmake ../kate-${pkgver} \
+  cmake ../${pkgbase}-${pkgver} \
     -DCMAKE_BUILD_TYPE=Release \
-    -DBUILD_TESTING=OFF \
     -DCMAKE_INSTALL_PREFIX=/usr \
     -DCMAKE_INSTALL_LIBDIR=lib \
     -DSYSCONF_INSTALL_DIR=/etc \
-    -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
+    -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
+    -DBUILD_TESTING=OFF
   make
 }