[arch-commits] Commit in katepart4/repos (8 files)
Felix Yan
fyan at archlinux.org
Thu Jan 15 11:39:43 UTC 2015
Date: Thursday, January 15, 2015 @ 12:39:43
Author: fyan
Revision: 229043
archrelease: copy trunk to staging-i686, staging-x86_64
Added:
katepart4/repos/staging-i686/
katepart4/repos/staging-i686/PKGBUILD
(from rev 229042, katepart4/trunk/PKGBUILD)
katepart4/repos/staging-i686/katepart4.install
(from rev 229042, katepart4/trunk/katepart4.install)
katepart4/repos/staging-i686/pkgbuild-syntax-highlight.patch
(from rev 229042, katepart4/trunk/pkgbuild-syntax-highlight.patch)
katepart4/repos/staging-x86_64/
katepart4/repos/staging-x86_64/PKGBUILD
(from rev 229042, katepart4/trunk/PKGBUILD)
katepart4/repos/staging-x86_64/katepart4.install
(from rev 229042, katepart4/trunk/katepart4.install)
katepart4/repos/staging-x86_64/pkgbuild-syntax-highlight.patch
(from rev 229042, katepart4/trunk/pkgbuild-syntax-highlight.patch)
------------------------------------------------+
staging-i686/PKGBUILD | 41 +++++++++++++++++++++++
staging-i686/katepart4.install | 11 ++++++
staging-i686/pkgbuild-syntax-highlight.patch | 11 ++++++
staging-x86_64/PKGBUILD | 41 +++++++++++++++++++++++
staging-x86_64/katepart4.install | 11 ++++++
staging-x86_64/pkgbuild-syntax-highlight.patch | 11 ++++++
6 files changed, 126 insertions(+)
Copied: katepart4/repos/staging-i686/PKGBUILD (from rev 229042, katepart4/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2015-01-15 11:39:43 UTC (rev 229043)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+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
Copied: katepart4/repos/staging-i686/katepart4.install (from rev 229042, katepart4/trunk/katepart4.install)
===================================================================
--- staging-i686/katepart4.install (rev 0)
+++ staging-i686/katepart4.install 2015-01-15 11:39:43 UTC (rev 229043)
@@ -0,0 +1,11 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
Copied: katepart4/repos/staging-i686/pkgbuild-syntax-highlight.patch (from rev 229042, katepart4/trunk/pkgbuild-syntax-highlight.patch)
===================================================================
--- staging-i686/pkgbuild-syntax-highlight.patch (rev 0)
+++ staging-i686/pkgbuild-syntax-highlight.patch 2015-01-15 11:39:43 UTC (rev 229043)
@@ -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_ at .%*?+-]|\\ )"> <!-- 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 (wilbert at kde.nl)" 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 (wilbert at kde.nl)" license="LGPL">
+
+ <!-- (c) 2004 by Wilbert Berendsen (wilbert at kde.nl)
+ Changes by Matthew Woehlke (mw_triad at users.sourceforge.net)
Copied: katepart4/repos/staging-x86_64/PKGBUILD (from rev 229042, katepart4/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2015-01-15 11:39:43 UTC (rev 229043)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+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
Copied: katepart4/repos/staging-x86_64/katepart4.install (from rev 229042, katepart4/trunk/katepart4.install)
===================================================================
--- staging-x86_64/katepart4.install (rev 0)
+++ staging-x86_64/katepart4.install 2015-01-15 11:39:43 UTC (rev 229043)
@@ -0,0 +1,11 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
Copied: katepart4/repos/staging-x86_64/pkgbuild-syntax-highlight.patch (from rev 229042, katepart4/trunk/pkgbuild-syntax-highlight.patch)
===================================================================
--- staging-x86_64/pkgbuild-syntax-highlight.patch (rev 0)
+++ staging-x86_64/pkgbuild-syntax-highlight.patch 2015-01-15 11:39:43 UTC (rev 229043)
@@ -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_ at .%*?+-]|\\ )"> <!-- 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 (wilbert at kde.nl)" 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 (wilbert at kde.nl)" license="LGPL">
+
+ <!-- (c) 2004 by Wilbert Berendsen (wilbert at kde.nl)
+ Changes by Matthew Woehlke (mw_triad at users.sourceforge.net)
More information about the arch-commits
mailing list