Commit ec6ec77b authored by AlmAck's avatar AlmAck

added PKGBUILD highlight syntax in ktexteditor

parent f940ce3b
......@@ -3,7 +3,7 @@ source ../frameworks.conf
pkgname=ktexteditor
pkgver=${KFVersion}
pkgrel=1
pkgrel=2
pkgdesc='Advanced embeddable text editor'
arch=('x86_64')
url='https://projects.kde.org/projects/frameworks/ktexteditor'
......@@ -12,11 +12,16 @@ depends=('kparts' 'libgit2')
makedepends=("extra-cmake-modules>=${KFECMVersion}")
groups=('kf5')
options=("debug")
source=("${KFServer}/${pkgname}-${pkgver}.tar.xz")
sha256sums=( $(getSum ${pkgname}))
source=("${KFServer}/${pkgname}-${pkgver}.tar.xz"
'pkgbuild-syntax-highlight.patch')
sha256sums=( $(getSum ${pkgname})
'e4973d3c64a28de67f6736ecba76b473817974f610513783de5cd4b9cf5f06f1')
prepare() {
mkdir -p build
cd ${pkgname}-${pkgver}
patch -p0 -i "${srcdir}"/pkgbuild-syntax-highlight.patch
}
build() {
......
--- src/syntax/data/bash.xml~ 2016-09-13 09:46:51.569245577 +0000
+++ src/syntax/data/bash.xml 2016-09-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.19" kateversion="5.0" 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.19" kateversion="5.0" 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)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment