Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Chakra
Packages
core
Commits
ec6ec77b
Commit
ec6ec77b
authored
Sep 13, 2016
by
AlmAck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added PKGBUILD highlight syntax in ktexteditor
parent
f940ce3b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
3 deletions
+19
-3
ktexteditor/PKGBUILD
ktexteditor/PKGBUILD
+8
-3
ktexteditor/pkgbuild-syntax-highlight.patch
ktexteditor/pkgbuild-syntax-highlight.patch
+11
-0
No files found.
ktexteditor/PKGBUILD
View file @
ec6ec77b
...
...
@@ -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
()
{
...
...
ktexteditor/pkgbuild-syntax-highlight.patch
0 → 100644
View file @
ec6ec77b
--- 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_@.%*?+-]|\\ )"> <!-- 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)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment