re-adding the syntax patch to kate, kwrite, small fix

This commit is contained in:
abveritas 2013-01-04 19:29:37 +00:00
parent bed7c5006f
commit b89b710533
3 changed files with 23 additions and 6 deletions

View File

@ -10,7 +10,7 @@ source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=('kde-baseapps-kwrite')
_pkgname=kate
pkgver=${_kdever}
pkgrel=1
pkgrel=2
url="http://kde.org/"
arch=('x86_64')
license=('GPL' 'LGPL' 'FDL')
@ -21,13 +21,16 @@ groups=('kde' 'kde-baseapps' 'kde-uninstall')
provides=('kdebase-kwrite' 'kwrite')
replaces=('kdebase-kwrite')
install='kde-baseapps-kwrite.install'
source=("$_mirror/${_pkgname}-$_kdever.tar.xz")
md5sums=(`grep ${_pkgname}-$_kdever.tar.xz ../kde-sc.md5 | cut -d" " -f1`)
source=("$_mirror/${_pkgname}-$_kdever.tar.xz"
'pkgbuild-syntax-highlight.patch')
md5sums=(`grep ${_pkgname}-$_kdever.tar.xz ../kde-sc.md5 | cut -d" " -f1`
'be69aac51d31e1c2452116c935251464')
options=('docs' '!splithdr' 'splitdbg' 'log')
build() {
cd ${srcdir}/${_pkgname}-${pkgver}
patch -p1 -i "${srcdir}"/pkgbuild-syntax-highlight.patch
rm -rf build
mkdir build && cd build

View File

@ -0,0 +1,11 @@
--- kate-4.9.80/part/syntax/data/bash.xml~ 2012-11-16 16:53:27.599718819 +0000
+++ kate-4.9.80/part/syntax/data/bash.xml 2012-11-16 16:54:27.549287684 +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.16" 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.16" 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)

View File

@ -10,15 +10,17 @@ source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=kdebindings-pykde4
_pkgname=pykde4
pkgver=${_kdever}
pkgrel=1
pkgrel=2
pkgdesc="KDE bindings for python"
url="http://kde.org/"
arch=('x86_64')
license=('GPL' 'LGPL' 'FDL')
depends=('pyqt' 'qscintilla' 'boost-libs' "kdepim-runtime>=${_kdever}")
makedepends=('cmake' 'automoc4' 'polkit-qt' 'boost')
source=("$_mirror/${_pkgname}-$_kdever.tar.xz")
md5sums=(`grep ${_pkgname}-$_kdever.tar.xz ../kde-sc.md5 | cut -d" " -f1`)
source=("$_mirror/${_pkgname}-$_kdever.tar.xz"
'pykdeuic4.patch')
md5sums=(`grep ${_pkgname}-$_kdever.tar.xz ../kde-sc.md5 | cut -d" " -f1`
'9cffaa289dabe5570ea02615e3b3da65')
groups=("kde" "kdebindings" "kde-uninstall")
provides=('kdebindings-python' 'pykde4')
@ -28,6 +30,7 @@ options=('docs' '!splithdr' 'splitdbg' 'log')
build() {
cd "${srcdir}"
patch -p1 -i ${srcdir}/pykdeuic4.patch
rm -rf build
mkdir build && cd build