Date: Saturday, November 29, 2014 @ 09:23:41
  Author: andrea
Revision: 227175

upgpkg: ktexteditor 5.4.0-2

PKGBUILD syntax highlight

Added:
  ktexteditor/trunk/pkgbuild-syntax-highlight.patch
Modified:
  ktexteditor/trunk/PKGBUILD

---------------------------------+
 PKGBUILD                        |   11 ++++++++---
 pkgbuild-syntax-highlight.patch |   11 +++++++++++
 2 files changed, 19 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2014-11-29 00:35:19 UTC (rev 227174)
+++ PKGBUILD    2014-11-29 08:23:41 UTC (rev 227175)
@@ -3,7 +3,7 @@
 
 pkgname=ktexteditor
 pkgver=5.4.0
-pkgrel=1
+pkgrel=2
 pkgdesc='Advanced embeddable text editor'
 arch=('i686' 'x86_64')
 url='https://projects.kde.org/projects/frameworks/ktexteditor'
@@ -11,11 +11,16 @@
 depends=('kparts' 'libgit2')
 makedepends=('extra-cmake-modules')
 groups=('kf5')
-source=("http://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz";)
-md5sums=('7237f56db8b953f456ef0a208ef2792a')
+source=("http://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz";
+        'pkgbuild-syntax-highlight.patch')
+md5sums=('7237f56db8b953f456ef0a208ef2792a'
+         'cc66f75c967dd7ac7c97375875772d69')
 
 prepare() {
   mkdir -p build
+
+  cd ${pkgname}-${pkgver}
+  patch -p0 -i "${srcdir}"/pkgbuild-syntax-highlight.patch
 }
 
 build() {

Added: pkgbuild-syntax-highlight.patch
===================================================================
--- pkgbuild-syntax-highlight.patch                             (rev 0)
+++ pkgbuild-syntax-highlight.patch     2014-11-29 08:23:41 UTC (rev 227175)
@@ -0,0 +1,11 @@
+--- src/syntax/data/bash.xml~  2013-06-13 09:46:51.569245577 +0000
++++ src/syntax/data/bash.xml   2013-06-13 09:47:31.745637790 +0000
+@@ -8,7 +8,7 @@
+         <!ENTITY noword   "(?![\w$+-])">                <!-- no word, $, + or 
- following -->
+         <!ENTITY pathpart "([\w_@.&#37;*?+-]|\\ )">     <!-- valid character 
in a file name -->
+ ]>
+-<language name="Bash" version="2.17" kateversion="2.4" section="Scripts" 
extensions="*.sh;*.bash;*.ebuild;*.eclass;.bashrc;.bash_profile;.bash_login;.profile"
 mimetype="application/x-shellscript" casesensitive="1" author="Wilbert 
Berendsen ([email protected])" license="LGPL">
++<language name="Bash" version="2.17" kateversion="2.4" section="Scripts" 
extensions="*.sh;*.bash;*.ebuild;*.eclass;.bashrc;.bash_profile;.bash_login;.profile;PKGBUILD"
 mimetype="application/x-shellscript" casesensitive="1" author="Wilbert 
Berendsen ([email protected])" license="LGPL">
+ 
+ <!-- (c) 2004 by Wilbert Berendsen ([email protected])
+     Changes by Matthew Woehlke ([email protected])

Reply via email to