summaryrefslogtreecommitdiff
path: root/extra/kdesdk-kate
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-02-09 00:07:22 -0800
committerroot <root@rshg054.dnsready.net>2013-02-09 00:07:22 -0800
commite9c244cac8e5dc1c59c7e8b7bc885fef04224b70 (patch)
tree64f1532d7e6e652c2ea5a0bb5efd7ea36f431535 /extra/kdesdk-kate
parent7c92c5fcfb5653f63243842299e413672653d1ad (diff)
Sat Feb 9 00:07:22 PST 2013
Diffstat (limited to 'extra/kdesdk-kate')
-rw-r--r--extra/kdesdk-kate/PKGBUILD35
-rw-r--r--extra/kdesdk-kate/pkgbuild-syntax-highlight.patch8
2 files changed, 24 insertions, 19 deletions
diff --git a/extra/kdesdk-kate/PKGBUILD b/extra/kdesdk-kate/PKGBUILD
index c4bec455e..054f8b8cd 100644
--- a/extra/kdesdk-kate/PKGBUILD
+++ b/extra/kdesdk-kate/PKGBUILD
@@ -1,30 +1,32 @@
-# $Id: PKGBUILD 174643 2013-01-05 13:02:25Z andrea $
+# $Id: PKGBUILD 177635 2013-02-08 08:55:54Z andrea $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
pkgbase=kdesdk-kate
pkgname=('kdebase-katepart'
'kdebase-kwrite'
'kdesdk-kate')
-pkgver=4.9.5
+pkgver=4.10.0
pkgrel=1
arch=('i686' 'x86_64')
license=('GPL' 'LGPL' 'FDL')
-makedepends=('kdelibs ''cmake' 'automoc4')
+makedepends=('kdelibs ''cmake' 'automoc4' 'kdebindings-python2')
source=("http://download.kde.org/stable/${pkgver}/src/kate-${pkgver}.tar.xz"
'pkgbuild-syntax-highlight.patch')
-sha1sums=('7b1f00228c9485318ab5bf8ac93bf9e1a78b53ea'
- '0a928253bd2077f0264d96a6c8823c69c47b6a8d')
+sha1sums=('9754f1acd55278d529c4e7a5a778b5cec51e73b9'
+ 'dc70306c507083cf9b4bb1c536858742292fa1bf')
build() {
- cd "${srcdir}"/kate-${pkgver}
+ cd kate-${pkgver}
patch -p1 -i "${srcdir}"/pkgbuild-syntax-highlight.patch
+ cd ../
- cd "${srcdir}"
mkdir build
cd build
cmake ../kate-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_INSTALL_PREFIX=/usr
+ -DKDE4_BUILD_TESTS=OFF \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DPYTHON_EXECUTABLE=/usr/bin/python2
make
}
@@ -34,7 +36,7 @@ package_kdebase-katepart() {
url="http://kate-editor.org/about-katepart/"
install='kdebase-katepart.install'
- cd "${srcdir}"/build/part
+ cd build/part
make DESTDIR="${pkgdir}" install
}
@@ -45,24 +47,27 @@ package_kdebase-kwrite() {
url="http://www.kde.org/applications/utilities/kwrite/"
install='kdebase-kwrite.install'
- cd "${srcdir}"/build/kwrite
+ cd build/kwrite
make DESTDIR="${pkgdir}" install
+ cd ../../
- cd "${srcdir}"/build/doc/kwrite
+ cd build/doc/kwrite
make DESTDIR="${pkgdir}" install
}
package_kdesdk-kate() {
pkgdesc="Advanced Text Editor"
- depends=('kdebase-runtime' 'kdebase-katepart')
+ depends=('kdebase-runtime' 'kdebase-katepart' 'qjson')
groups=('kde' 'kdesdk')
url="http://www.kde.org/applications/utilities/kate/"
install='kdesdk-kate.install'
- optdepends=('kdebase-konsole: open a terminal in Kate')
+ optdepends=('kdebase-konsole: open a terminal in Kate'
+ 'kdebindings-python2: python bindings')
- cd "${srcdir}"/build/kate
+ cd build/kate
make DESTDIR="${pkgdir}" install
+ cd ../../
- cd "${srcdir}"/build/doc/kate
+ cd build/doc/kate
make DESTDIR="${pkgdir}" install
}
diff --git a/extra/kdesdk-kate/pkgbuild-syntax-highlight.patch b/extra/kdesdk-kate/pkgbuild-syntax-highlight.patch
index 27729d1ad..d6b37b95f 100644
--- a/extra/kdesdk-kate/pkgbuild-syntax-highlight.patch
+++ b/extra/kdesdk-kate/pkgbuild-syntax-highlight.patch
@@ -1,11 +1,11 @@
---- kate-4.7.80/part/syntax/data/bash.xml~ 2011-11-20 06:14:30.581097154 +0000
-+++ kate-4.7.80/part/syntax/data/bash.xml 2011-11-20 06:14:45.494553146 +0000
+--- kate-4.9.97/part/syntax/data/bash.xml~ 2013-01-04 08:47:46.157286867 +0000
++++ kate-4.9.97/part/syntax/data/bash.xml 2013-01-04 08:48:06.097144127 +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.14" 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.14" 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">
+-<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)