[arch-commits] Commit in ktexteditor/repos (6 files)
Felix Yan
felixonmars at archlinux.org
Sun Oct 9 17:46:34 UTC 2016
Date: Sunday, October 9, 2016 @ 17:46:34
Author: felixonmars
Revision: 278102
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
ktexteditor/repos/testing-i686/
ktexteditor/repos/testing-i686/PKGBUILD
(from rev 278101, ktexteditor/trunk/PKGBUILD)
ktexteditor/repos/testing-i686/pkgbuild-syntax-highlight.patch
(from rev 278101, ktexteditor/trunk/pkgbuild-syntax-highlight.patch)
ktexteditor/repos/testing-x86_64/
ktexteditor/repos/testing-x86_64/PKGBUILD
(from rev 278101, ktexteditor/trunk/PKGBUILD)
ktexteditor/repos/testing-x86_64/pkgbuild-syntax-highlight.patch
(from rev 278101, ktexteditor/trunk/pkgbuild-syntax-highlight.patch)
------------------------------------------------+
testing-i686/PKGBUILD | 40 +++++++++++++++++++++++
testing-i686/pkgbuild-syntax-highlight.patch | 11 ++++++
testing-x86_64/PKGBUILD | 40 +++++++++++++++++++++++
testing-x86_64/pkgbuild-syntax-highlight.patch | 11 ++++++
4 files changed, 102 insertions(+)
Copied: ktexteditor/repos/testing-i686/PKGBUILD (from rev 278101, ktexteditor/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2016-10-09 17:46:34 UTC (rev 278102)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=ktexteditor
+pkgver=5.27.0
+pkgrel=1
+pkgdesc='Advanced embeddable text editor'
+arch=('i686' 'x86_64')
+url='https://community.kde.org/Frameworks'
+license=('LGPL')
+depends=('kparts' 'libgit2')
+makedepends=('extra-cmake-modules' 'python')
+groups=('kf5')
+source=("http://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"
+ 'pkgbuild-syntax-highlight.patch')
+md5sums=('2388a9287023572beacabad74a50f1fd'
+ '6b11febc2766f2613cf29339a3dedf83')
+
+prepare() {
+ mkdir -p build
+
+ cd ${pkgname}-${pkgver}
+ patch -p0 -i "${srcdir}"/pkgbuild-syntax-highlight.patch
+}
+
+build() {
+ cd build
+ cmake ../${pkgname}-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DKDE_INSTALL_LIBDIR=lib \
+ -DBUILD_TESTING=OFF
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="${pkgdir}" install
+}
Copied: ktexteditor/repos/testing-i686/pkgbuild-syntax-highlight.patch (from rev 278101, ktexteditor/trunk/pkgbuild-syntax-highlight.patch)
===================================================================
--- testing-i686/pkgbuild-syntax-highlight.patch (rev 0)
+++ testing-i686/pkgbuild-syntax-highlight.patch 2016-10-09 17:46:34 UTC (rev 278102)
@@ -0,0 +1,11 @@
+--- src/syntax/data/bash.xml~ 2013-06-13 09:46:51.569245577 +0000
++++ src/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="3" kateversion="5.0" section="Scripts" extensions="*.sh;*.bash;*.ebuild;*.eclass;*.nix;.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="3" kateversion="5.0" section="Scripts" extensions="*.sh;*.bash;*.ebuild;*.eclass;*.nix;.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: ktexteditor/repos/testing-x86_64/PKGBUILD (from rev 278101, ktexteditor/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2016-10-09 17:46:34 UTC (rev 278102)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=ktexteditor
+pkgver=5.27.0
+pkgrel=1
+pkgdesc='Advanced embeddable text editor'
+arch=('i686' 'x86_64')
+url='https://community.kde.org/Frameworks'
+license=('LGPL')
+depends=('kparts' 'libgit2')
+makedepends=('extra-cmake-modules' 'python')
+groups=('kf5')
+source=("http://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"
+ 'pkgbuild-syntax-highlight.patch')
+md5sums=('2388a9287023572beacabad74a50f1fd'
+ '6b11febc2766f2613cf29339a3dedf83')
+
+prepare() {
+ mkdir -p build
+
+ cd ${pkgname}-${pkgver}
+ patch -p0 -i "${srcdir}"/pkgbuild-syntax-highlight.patch
+}
+
+build() {
+ cd build
+ cmake ../${pkgname}-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DKDE_INSTALL_LIBDIR=lib \
+ -DBUILD_TESTING=OFF
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="${pkgdir}" install
+}
Copied: ktexteditor/repos/testing-x86_64/pkgbuild-syntax-highlight.patch (from rev 278101, ktexteditor/trunk/pkgbuild-syntax-highlight.patch)
===================================================================
--- testing-x86_64/pkgbuild-syntax-highlight.patch (rev 0)
+++ testing-x86_64/pkgbuild-syntax-highlight.patch 2016-10-09 17:46:34 UTC (rev 278102)
@@ -0,0 +1,11 @@
+--- src/syntax/data/bash.xml~ 2013-06-13 09:46:51.569245577 +0000
++++ src/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="3" kateversion="5.0" section="Scripts" extensions="*.sh;*.bash;*.ebuild;*.eclass;*.nix;.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="3" kateversion="5.0" section="Scripts" extensions="*.sh;*.bash;*.ebuild;*.eclass;*.nix;.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