git » ktexteditor.git » commit 6e6bc5b

Fix on-the-fly spell checking (FS#70943)

author Antonio Rojas
2021-05-19 16:46:24 UTC
committer Antonio Rojas
2021-05-19 16:46:24 UTC
parent 59a226506dbdd29978d1f087d2a2a7afe285f944

Fix on-the-fly spell checking (FS#70943)

PKGBUILD +9 -3

diff --git a/PKGBUILD b/PKGBUILD
index 31dc8e9..635fe2d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
 
 pkgname=ktexteditor
 pkgver=5.82.0
-pkgrel=1
+pkgrel=2
 pkgdesc='Advanced embeddable text editor'
 arch=(x86_64)
 url='https://community.kde.org/Frameworks'
@@ -12,11 +12,17 @@ license=(LGPL)
 depends=(kparts syntax-highlighting libgit2 editorconfig-core-c)
 makedepends=(extra-cmake-modules doxygen qt5-tools qt5-doc)
 groups=(kf5)
-source=(https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz{,.sig})
+source=(https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz{,.sig}
+        https://invent.kde.org/frameworks/ktexteditor/commit/253cc3bb.patch)
 sha256sums=('7c42e7527b2245b3eb8041afcb133457e416311a2342004c2c51e7be9700941d'
-            'SKIP')
+            'SKIP'
+            '040c109e5789dddef4795972cb282c5cf133125c351d08405287d42fef373e0f')
 validpgpkeys=(53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB) # David Faure <faure@kde.org>
 
+prepare() {
+  patch -d $pkgname-$pkgver -p1 < 253cc3bb.patch # Fix on-the-fly spell checking
+}
+
 build() {
   cmake -B build -S $pkgname-$pkgver \
     -DBUILD_TESTING=OFF \