Date: Wednesday, November 21, 2012 @ 13:14:22 Author: andrea Revision: 171721
archrelease: copy kde-unstable to kde-unstable-i686, kde-unstable-x86_64 Added: kdesdk-kate/repos/kde-unstable-i686/ kdesdk-kate/repos/kde-unstable-i686/PKGBUILD (from rev 171720, kdesdk-kate/kde-unstable/PKGBUILD) kdesdk-kate/repos/kde-unstable-i686/kdebase-katepart.install (from rev 171720, kdesdk-kate/kde-unstable/kdebase-katepart.install) kdesdk-kate/repos/kde-unstable-i686/kdebase-kwrite.install (from rev 171720, kdesdk-kate/kde-unstable/kdebase-kwrite.install) kdesdk-kate/repos/kde-unstable-i686/kdesdk-kate.install (from rev 171720, kdesdk-kate/kde-unstable/kdesdk-kate.install) kdesdk-kate/repos/kde-unstable-i686/pkgbuild-syntax-highlight.patch (from rev 171720, kdesdk-kate/kde-unstable/pkgbuild-syntax-highlight.patch) kdesdk-kate/repos/kde-unstable-x86_64/ kdesdk-kate/repos/kde-unstable-x86_64/PKGBUILD (from rev 171720, kdesdk-kate/kde-unstable/PKGBUILD) kdesdk-kate/repos/kde-unstable-x86_64/kdebase-katepart.install (from rev 171720, kdesdk-kate/kde-unstable/kdebase-katepart.install) kdesdk-kate/repos/kde-unstable-x86_64/kdebase-kwrite.install (from rev 171720, kdesdk-kate/kde-unstable/kdebase-kwrite.install) kdesdk-kate/repos/kde-unstable-x86_64/kdesdk-kate.install (from rev 171720, kdesdk-kate/kde-unstable/kdesdk-kate.install) kdesdk-kate/repos/kde-unstable-x86_64/pkgbuild-syntax-highlight.patch (from rev 171720, kdesdk-kate/kde-unstable/pkgbuild-syntax-highlight.patch) -----------------------------------------------------+ kde-unstable-i686/PKGBUILD | 70 ++++++++++++++++++ kde-unstable-i686/kdebase-katepart.install | 11 ++ kde-unstable-i686/kdebase-kwrite.install | 12 +++ kde-unstable-i686/kdesdk-kate.install | 13 +++ kde-unstable-i686/pkgbuild-syntax-highlight.patch | 11 ++ kde-unstable-x86_64/PKGBUILD | 70 ++++++++++++++++++ kde-unstable-x86_64/kdebase-katepart.install | 11 ++ kde-unstable-x86_64/kdebase-kwrite.install | 12 +++ kde-unstable-x86_64/kdesdk-kate.install | 13 +++ kde-unstable-x86_64/pkgbuild-syntax-highlight.patch | 11 ++ 10 files changed, 234 insertions(+) Copied: kdesdk-kate/repos/kde-unstable-i686/PKGBUILD (from rev 171720, kdesdk-kate/kde-unstable/PKGBUILD) =================================================================== --- kde-unstable-i686/PKGBUILD (rev 0) +++ kde-unstable-i686/PKGBUILD 2012-11-21 18:14:22 UTC (rev 171721) @@ -0,0 +1,70 @@ +# $Id$ +# Maintainer: Andrea Scarpino <and...@archlinux.org> + +pkgbase=kdesdk-kate +pkgname=('kdebase-katepart' + 'kdebase-kwrite' + 'kdesdk-kate') +pkgver=4.9.80 +pkgrel=1 +arch=('i686' 'x86_64') +license=('GPL' 'LGPL' 'FDL') +makedepends=('kdelibs ''cmake' 'automoc4' 'kdebindings-python2') +source=("http://download.kde.org/unstable/${pkgver}/src/kate-${pkgver}.tar.xz" + 'pkgbuild-syntax-highlight.patch') +sha1sums=('8d4091c03312a75052b8a81a3c3676acef109a47' + '5b45d0df8f340105633eba9ef7c58086e6c2e750') + +build() { + cd "${srcdir}"/kate-${pkgver} + patch -p1 -i "${srcdir}"/pkgbuild-syntax-highlight.patch + + cd "${srcdir}" + mkdir build + cd build + cmake ../kate-${pkgver} \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DPYTHON_EXECUTABLE=/usr/bin/python2 + make +} + +package_kdebase-katepart() { + pkgdesc="A fast and feature-rich text editor component" + depends=('kdelibs') + url="http://kate-editor.org/about-katepart/" + install='kdebase-katepart.install' + + cd "${srcdir}"/build/part + make DESTDIR="${pkgdir}" install +} + +package_kdebase-kwrite() { + pkgdesc="Text Editor" + depends=('kdebase-runtime' 'kdebase-katepart') + groups=('kde' 'kdebase') + url="http://www.kde.org/applications/utilities/kwrite/" + install='kdebase-kwrite.install' + + cd "${srcdir}"/build/kwrite + make DESTDIR="${pkgdir}" install + + cd "${srcdir}"/build/doc/kwrite + make DESTDIR="${pkgdir}" install +} + +package_kdesdk-kate() { + pkgdesc="Advanced Text Editor" + 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' + 'kdebindings-python2: python bindings') + + cd "${srcdir}"/build/kate + make DESTDIR="${pkgdir}" install + + cd "${srcdir}"/build/doc/kate + make DESTDIR="${pkgdir}" install +} Copied: kdesdk-kate/repos/kde-unstable-i686/kdebase-katepart.install (from rev 171720, kdesdk-kate/kde-unstable/kdebase-katepart.install) =================================================================== --- kde-unstable-i686/kdebase-katepart.install (rev 0) +++ kde-unstable-i686/kdebase-katepart.install 2012-11-21 18:14:22 UTC (rev 171721) @@ -0,0 +1,11 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} Copied: kdesdk-kate/repos/kde-unstable-i686/kdebase-kwrite.install (from rev 171720, kdesdk-kate/kde-unstable/kdebase-kwrite.install) =================================================================== --- kde-unstable-i686/kdebase-kwrite.install (rev 0) +++ kde-unstable-i686/kdebase-kwrite.install 2012-11-21 18:14:22 UTC (rev 171721) @@ -0,0 +1,12 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} Copied: kdesdk-kate/repos/kde-unstable-i686/kdesdk-kate.install (from rev 171720, kdesdk-kate/kde-unstable/kdesdk-kate.install) =================================================================== --- kde-unstable-i686/kdesdk-kate.install (rev 0) +++ kde-unstable-i686/kdesdk-kate.install 2012-11-21 18:14:22 UTC (rev 171721) @@ -0,0 +1,13 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null + update-desktop-database -q + update-mime-database usr/share/mime &> /dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} Copied: kdesdk-kate/repos/kde-unstable-i686/pkgbuild-syntax-highlight.patch (from rev 171720, kdesdk-kate/kde-unstable/pkgbuild-syntax-highlight.patch) =================================================================== --- kde-unstable-i686/pkgbuild-syntax-highlight.patch (rev 0) +++ kde-unstable-i686/pkgbuild-syntax-highlight.patch 2012-11-21 18:14:22 UTC (rev 171721) @@ -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.15" 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 (wilb...@kde.nl)" license="LGPL"> ++<language name="Bash" version="2.15" 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 (wilb...@kde.nl)" license="LGPL"> + + <!-- (c) 2004 by Wilbert Berendsen (wilb...@kde.nl) + Changes by Matthew Woehlke (mw_tr...@users.sourceforge.net) Copied: kdesdk-kate/repos/kde-unstable-x86_64/PKGBUILD (from rev 171720, kdesdk-kate/kde-unstable/PKGBUILD) =================================================================== --- kde-unstable-x86_64/PKGBUILD (rev 0) +++ kde-unstable-x86_64/PKGBUILD 2012-11-21 18:14:22 UTC (rev 171721) @@ -0,0 +1,70 @@ +# $Id$ +# Maintainer: Andrea Scarpino <and...@archlinux.org> + +pkgbase=kdesdk-kate +pkgname=('kdebase-katepart' + 'kdebase-kwrite' + 'kdesdk-kate') +pkgver=4.9.80 +pkgrel=1 +arch=('i686' 'x86_64') +license=('GPL' 'LGPL' 'FDL') +makedepends=('kdelibs ''cmake' 'automoc4' 'kdebindings-python2') +source=("http://download.kde.org/unstable/${pkgver}/src/kate-${pkgver}.tar.xz" + 'pkgbuild-syntax-highlight.patch') +sha1sums=('8d4091c03312a75052b8a81a3c3676acef109a47' + '5b45d0df8f340105633eba9ef7c58086e6c2e750') + +build() { + cd "${srcdir}"/kate-${pkgver} + patch -p1 -i "${srcdir}"/pkgbuild-syntax-highlight.patch + + cd "${srcdir}" + mkdir build + cd build + cmake ../kate-${pkgver} \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DPYTHON_EXECUTABLE=/usr/bin/python2 + make +} + +package_kdebase-katepart() { + pkgdesc="A fast and feature-rich text editor component" + depends=('kdelibs') + url="http://kate-editor.org/about-katepart/" + install='kdebase-katepart.install' + + cd "${srcdir}"/build/part + make DESTDIR="${pkgdir}" install +} + +package_kdebase-kwrite() { + pkgdesc="Text Editor" + depends=('kdebase-runtime' 'kdebase-katepart') + groups=('kde' 'kdebase') + url="http://www.kde.org/applications/utilities/kwrite/" + install='kdebase-kwrite.install' + + cd "${srcdir}"/build/kwrite + make DESTDIR="${pkgdir}" install + + cd "${srcdir}"/build/doc/kwrite + make DESTDIR="${pkgdir}" install +} + +package_kdesdk-kate() { + pkgdesc="Advanced Text Editor" + 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' + 'kdebindings-python2: python bindings') + + cd "${srcdir}"/build/kate + make DESTDIR="${pkgdir}" install + + cd "${srcdir}"/build/doc/kate + make DESTDIR="${pkgdir}" install +} Copied: kdesdk-kate/repos/kde-unstable-x86_64/kdebase-katepart.install (from rev 171720, kdesdk-kate/kde-unstable/kdebase-katepart.install) =================================================================== --- kde-unstable-x86_64/kdebase-katepart.install (rev 0) +++ kde-unstable-x86_64/kdebase-katepart.install 2012-11-21 18:14:22 UTC (rev 171721) @@ -0,0 +1,11 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} Copied: kdesdk-kate/repos/kde-unstable-x86_64/kdebase-kwrite.install (from rev 171720, kdesdk-kate/kde-unstable/kdebase-kwrite.install) =================================================================== --- kde-unstable-x86_64/kdebase-kwrite.install (rev 0) +++ kde-unstable-x86_64/kdebase-kwrite.install 2012-11-21 18:14:22 UTC (rev 171721) @@ -0,0 +1,12 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} Copied: kdesdk-kate/repos/kde-unstable-x86_64/kdesdk-kate.install (from rev 171720, kdesdk-kate/kde-unstable/kdesdk-kate.install) =================================================================== --- kde-unstable-x86_64/kdesdk-kate.install (rev 0) +++ kde-unstable-x86_64/kdesdk-kate.install 2012-11-21 18:14:22 UTC (rev 171721) @@ -0,0 +1,13 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null + update-desktop-database -q + update-mime-database usr/share/mime &> /dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} Copied: kdesdk-kate/repos/kde-unstable-x86_64/pkgbuild-syntax-highlight.patch (from rev 171720, kdesdk-kate/kde-unstable/pkgbuild-syntax-highlight.patch) =================================================================== --- kde-unstable-x86_64/pkgbuild-syntax-highlight.patch (rev 0) +++ kde-unstable-x86_64/pkgbuild-syntax-highlight.patch 2012-11-21 18:14:22 UTC (rev 171721) @@ -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.15" 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 (wilb...@kde.nl)" license="LGPL"> ++<language name="Bash" version="2.15" 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 (wilb...@kde.nl)" license="LGPL"> + + <!-- (c) 2004 by Wilbert Berendsen (wilb...@kde.nl) + Changes by Matthew Woehlke (mw_tr...@users.sourceforge.net)