mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-11 07:44:38 +08:00
re-adding the syntax patch to kate, kwrite, small fix
This commit is contained in:
parent
bed7c5006f
commit
b89b710533
@ -10,7 +10,7 @@ source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
|||||||
pkgname=('kde-baseapps-kwrite')
|
pkgname=('kde-baseapps-kwrite')
|
||||||
_pkgname=kate
|
_pkgname=kate
|
||||||
pkgver=${_kdever}
|
pkgver=${_kdever}
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
url="http://kde.org/"
|
url="http://kde.org/"
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
license=('GPL' 'LGPL' 'FDL')
|
license=('GPL' 'LGPL' 'FDL')
|
||||||
@ -21,13 +21,16 @@ groups=('kde' 'kde-baseapps' 'kde-uninstall')
|
|||||||
provides=('kdebase-kwrite' 'kwrite')
|
provides=('kdebase-kwrite' 'kwrite')
|
||||||
replaces=('kdebase-kwrite')
|
replaces=('kdebase-kwrite')
|
||||||
install='kde-baseapps-kwrite.install'
|
install='kde-baseapps-kwrite.install'
|
||||||
source=("$_mirror/${_pkgname}-$_kdever.tar.xz")
|
source=("$_mirror/${_pkgname}-$_kdever.tar.xz"
|
||||||
md5sums=(`grep ${_pkgname}-$_kdever.tar.xz ../kde-sc.md5 | cut -d" " -f1`)
|
'pkgbuild-syntax-highlight.patch')
|
||||||
|
md5sums=(`grep ${_pkgname}-$_kdever.tar.xz ../kde-sc.md5 | cut -d" " -f1`
|
||||||
|
'be69aac51d31e1c2452116c935251464')
|
||||||
|
|
||||||
options=('docs' '!splithdr' 'splitdbg' 'log')
|
options=('docs' '!splithdr' 'splitdbg' 'log')
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd ${srcdir}/${_pkgname}-${pkgver}
|
cd ${srcdir}/${_pkgname}-${pkgver}
|
||||||
|
patch -p1 -i "${srcdir}"/pkgbuild-syntax-highlight.patch
|
||||||
|
|
||||||
rm -rf build
|
rm -rf build
|
||||||
mkdir build && cd build
|
mkdir build && cd build
|
||||||
|
11
kde-baseapps-kwrite/pkgbuild-syntax-highlight.patch
Normal file
11
kde-baseapps-kwrite/pkgbuild-syntax-highlight.patch
Normal 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_@.%*?+-]|\\ )"> <!-- 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)
|
@ -10,15 +10,17 @@ source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
|||||||
pkgname=kdebindings-pykde4
|
pkgname=kdebindings-pykde4
|
||||||
_pkgname=pykde4
|
_pkgname=pykde4
|
||||||
pkgver=${_kdever}
|
pkgver=${_kdever}
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc="KDE bindings for python"
|
pkgdesc="KDE bindings for python"
|
||||||
url="http://kde.org/"
|
url="http://kde.org/"
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
license=('GPL' 'LGPL' 'FDL')
|
license=('GPL' 'LGPL' 'FDL')
|
||||||
depends=('pyqt' 'qscintilla' 'boost-libs' "kdepim-runtime>=${_kdever}")
|
depends=('pyqt' 'qscintilla' 'boost-libs' "kdepim-runtime>=${_kdever}")
|
||||||
makedepends=('cmake' 'automoc4' 'polkit-qt' 'boost')
|
makedepends=('cmake' 'automoc4' 'polkit-qt' 'boost')
|
||||||
source=("$_mirror/${_pkgname}-$_kdever.tar.xz")
|
source=("$_mirror/${_pkgname}-$_kdever.tar.xz"
|
||||||
md5sums=(`grep ${_pkgname}-$_kdever.tar.xz ../kde-sc.md5 | cut -d" " -f1`)
|
'pykdeuic4.patch')
|
||||||
|
md5sums=(`grep ${_pkgname}-$_kdever.tar.xz ../kde-sc.md5 | cut -d" " -f1`
|
||||||
|
'9cffaa289dabe5570ea02615e3b3da65')
|
||||||
|
|
||||||
groups=("kde" "kdebindings" "kde-uninstall")
|
groups=("kde" "kdebindings" "kde-uninstall")
|
||||||
provides=('kdebindings-python' 'pykde4')
|
provides=('kdebindings-python' 'pykde4')
|
||||||
@ -28,6 +30,7 @@ options=('docs' '!splithdr' 'splitdbg' 'log')
|
|||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "${srcdir}"
|
cd "${srcdir}"
|
||||||
|
patch -p1 -i ${srcdir}/pykdeuic4.patch
|
||||||
|
|
||||||
rm -rf build
|
rm -rf build
|
||||||
mkdir build && cd build
|
mkdir build && cd build
|
||||||
|
Loading…
Reference in New Issue
Block a user