author | Andrea Scarpino
<andrea@archlinux.org> 2014-11-29 08:23:41 UTC |
committer | Andrea Scarpino
<andrea@archlinux.org> 2014-11-29 08:23:41 UTC |
parent | a4c35034599b7fbd7eeefddb3a06b37ca2347f31 |
PKGBUILD | +8 | -3 |
pkgbuild-syntax-highlight.patch | +11 | -0 |
diff --git a/PKGBUILD b/PKGBUILD index d368090..b00a126 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -2,7 +2,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' @@ -10,11 +10,16 @@ license=('LGPL') 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() { diff --git a/pkgbuild-syntax-highlight.patch b/pkgbuild-syntax-highlight.patch new file mode 100644 index 0000000..bcecc7e --- /dev/null +++ b/pkgbuild-syntax-highlight.patch @@ -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_@.%*?+-]|\\ )"> <!-- 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 (wilbert@kde.nl)" 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 (wilbert@kde.nl)" license="LGPL"> + + <!-- (c) 2004 by Wilbert Berendsen (wilbert@kde.nl) + Changes by Matthew Woehlke (mw_triad@users.sourceforge.net)