git » ktexteditor.git » commit 204aa2e

Fix text selection

author Antonio Rojas
2016-03-28 09:02:45 UTC
committer Antonio Rojas
2016-03-28 09:02:45 UTC
parent 245c13f9a15f801936d246882b9a3e66fb19a443

Fix text selection

PKGBUILD +7 -3

diff --git a/PKGBUILD b/PKGBUILD
index 731a251..7cafb66 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
 
 pkgname=ktexteditor
 pkgver=5.20.0
-pkgrel=1
+pkgrel=2
 pkgdesc='Advanced embeddable text editor'
 arch=('i686' 'x86_64')
 url='https://projects.kde.org/projects/frameworks/ktexteditor'
@@ -12,15 +12,19 @@ depends=('kparts' 'libgit2')
 makedepends=('extra-cmake-modules')
 groups=('kf5')
 source=("http://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"
-        'pkgbuild-syntax-highlight.patch')
+        'pkgbuild-syntax-highlight.patch'
+	ktexteditor-selection.patch::"https://quickgit.kde.org/?p=ktexteditor.git&a=commitdiff&h=f7f330b2&o=plain")
 md5sums=('4e4cdc9d49dd3a3a865d91ffaec392ba'
-         '3a03efe92f1403991c51f2859ee092f6')
+         '3a03efe92f1403991c51f2859ee092f6'
+         '4ddfd71ab48c7e1a7f25333c8bdd0f39')
 
 prepare() {
   mkdir -p build
 
   cd ${pkgname}-${pkgver}
   patch -p0 -i "${srcdir}"/pkgbuild-syntax-highlight.patch
+# Fix text selection
+  patch -p1 -i ../ktexteditor-selection.patch
 }
 
 build() {