Date: Thursday, January 15, 2015 @ 12:37:39 Author: fyan Revision: 229042
add katepart4 Added: katepart4/ katepart4/repos/ katepart4/trunk/ katepart4/trunk/PKGBUILD katepart4/trunk/katepart4.install katepart4/trunk/pkgbuild-syntax-highlight.patch ---------------------------------+ PKGBUILD | 41 ++++++++++++++++++++++++++++++++++++++ katepart4.install | 11 ++++++++++ pkgbuild-syntax-highlight.patch | 11 ++++++++++ 3 files changed, 63 insertions(+) Added: katepart4/trunk/PKGBUILD =================================================================== --- katepart4/trunk/PKGBUILD (rev 0) +++ katepart4/trunk/PKGBUILD 2015-01-15 11:37:39 UTC (rev 229042) @@ -0,0 +1,41 @@ +# $Id$ +# Maintainer: Felix Yan <[email protected]> +# Contributor: Andrea Scarpino <[email protected]> + +pkgname='katepart4' +pkgver=4.14.3 +pkgrel=2 +pkgdesc="A fast and feature-rich text editor component" +arch=('i686' 'x86_64') +license=('GPL' 'LGPL' 'FDL') +url="http://kate-editor.org/about-katepart/" +depends=('kdelibs') +makedepends=('kdelibs' 'cmake' 'automoc4' 'kdebindings-python') +install=$pkgname.install +provides=('kdebase-katepart') +replaces=('kdebase-katepart') +source=("http://download.kde.org/stable/${pkgver}/src/kate-${pkgver}.tar.xz" + 'pkgbuild-syntax-highlight.patch') +sha1sums=('da37195e86b5449fcdfe69a3f7df6373a5da900c' + '80c324c9db81c07a02374e7a092d75e0bdd6b4ea') + +prepare() { + mkdir build + + cd kate-${pkgver} + patch -p1 -i "${srcdir}"/pkgbuild-syntax-highlight.patch +} + +build() { + cd build + cmake ../kate-${pkgver} \ + -DCMAKE_BUILD_TYPE=Release \ + -DKDE4_BUILD_TESTS=OFF \ + -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package() { + cd build/part + make DESTDIR="${pkgdir}" install +} \ No newline at end of file Property changes on: katepart4/trunk/PKGBUILD ___________________________________________________________________ Added: svn:keywords ## -0,0 +1 ## +Id \ No newline at end of property Added: katepart4/trunk/katepart4.install =================================================================== --- katepart4/trunk/katepart4.install (rev 0) +++ katepart4/trunk/katepart4.install 2015-01-15 11:37:39 UTC (rev 229042) @@ -0,0 +1,11 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} Added: katepart4/trunk/pkgbuild-syntax-highlight.patch =================================================================== --- katepart4/trunk/pkgbuild-syntax-highlight.patch (rev 0) +++ katepart4/trunk/pkgbuild-syntax-highlight.patch 2015-01-15 11:37:39 UTC (rev 229042) @@ -0,0 +1,11 @@ +--- kate-4.10.80/part/syntax/data/bash.xml~ 2013-06-13 09:46:51.569245577 +0000 ++++ kate-4.10.80/part/syntax/data/bash.xml 2013-06-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.17" 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 ([email protected])" license="LGPL"> ++<language name="Bash" version="2.17" 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 ([email protected])" license="LGPL"> + + <!-- (c) 2004 by Wilbert Berendsen ([email protected]) + Changes by Matthew Woehlke ([email protected])
