[arch-commits] Commit in kdelibs/kde-unstable (PKGBUILD abs-syntax-highlight.patch)

Pierre Schmitz pierre at archlinux.org
Mon Jun 15 06:17:52 UTC 2009


    Date: Monday, June 15, 2009 @ 02:17:52
  Author: pierre
Revision: 42535

add syntax highlightning for PKGBUILD and .install files

Added:
  kdelibs/kde-unstable/abs-syntax-highlight.patch
Modified:
  kdelibs/kde-unstable/PKGBUILD

----------------------------+
 PKGBUILD                   |    7 +++++--
 abs-syntax-highlight.patch |   11 +++++++++++
 2 files changed, 16 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-06-15 06:05:52 UTC (rev 42534)
+++ PKGBUILD	2009-06-15 06:17:52 UTC (rev 42535)
@@ -15,10 +15,11 @@
 replaces=('arts')
 install='kdelibs.install'
 source=(http://download.kde.org/unstable/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2
-        'kde-applications-menu.patch' 'archlinux-menu.patch')
+        'kde-applications-menu.patch' 'archlinux-menu.patch' 'abs-syntax-highlight.patch')
 md5sums=('8238cba33a229859ea820233dd902991'
          'e94450ba5430ea9c1e33bad9ae38ca2d'
-         'a6b31e1e5812340f010ef4cdd77e356c')
+         'a6b31e1e5812340f010ef4cdd77e356c'
+         'a471b0c4642028917f4e17025eaa6505')
 
 build() {
 	cd $srcdir/${pkgname}-${pkgver}
@@ -27,6 +28,8 @@
 	patch -p1 -i $srcdir/kde-applications-menu.patch
 	# add Archlinux menu entry
 	patch -p1 -i $srcdir/archlinux-menu.patch
+	# add syntax highlightning for PKGBUILD and .install files
+	patch -p0 -i $srcdir/abs-syntax-highlight.patch
 	cd ..
 	mkdir build
 	cd build

Added: abs-syntax-highlight.patch
===================================================================
--- abs-syntax-highlight.patch	                        (rev 0)
+++ abs-syntax-highlight.patch	2009-06-15 06:17:52 UTC (rev 42535)
@@ -0,0 +1,11 @@
+--- kate/syntax/data/bash.xml_2009-06-15T08:10+0200	2009-06-15 08:10:40.000000000 +0200
++++ kate/syntax/data/bash.xml	2009-06-15 08:13:50.000000000 +0200
+@@ -8,7 +8,7 @@
+         <!ENTITY noword   "(?![\w$+-])">                <!-- no word, $, + or - following -->
+         <!ENTITY pathpart "([\w_ at .%*?+-]|\\ )">     <!-- valid character in a file name -->
+ ]>
+-<language name="Bash" version="2.12" 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 at kde.nl)" license="LGPL">
++<language name="Bash" version="2.12" kateversion="2.4" section="Scripts" extensions="*.sh;*.bash;*.ebuild;*.eclass;.bashrc;.bash_profile;.bash_login;.profile;PKGBUILD;*.install" mimetype="application/x-shellscript" casesensitive="1" author="Wilbert Berendsen (wilbert at kde.nl)" license="LGPL">
+ 
+ <!-- (c) 2004 by Wilbert Berendsen (wilbert at kde.nl)
+     Changes by Matthew Woehlke (mw_triad at users.sourceforge.net)




More information about the arch-commits mailing list