[arch-commits] Commit in ktexteditor/repos (6 files)

Felix Yan felixonmars at archlinux.org
Mon Jul 11 02:45:04 UTC 2016


    Date: Monday, July 11, 2016 @ 02:45:04
  Author: felixonmars
Revision: 271438

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  ktexteditor/repos/testing-i686/
  ktexteditor/repos/testing-i686/PKGBUILD
    (from rev 271437, ktexteditor/trunk/PKGBUILD)
  ktexteditor/repos/testing-i686/pkgbuild-syntax-highlight.patch
    (from rev 271437, ktexteditor/trunk/pkgbuild-syntax-highlight.patch)
  ktexteditor/repos/testing-x86_64/
  ktexteditor/repos/testing-x86_64/PKGBUILD
    (from rev 271437, ktexteditor/trunk/PKGBUILD)
  ktexteditor/repos/testing-x86_64/pkgbuild-syntax-highlight.patch
    (from rev 271437, 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 271437, ktexteditor/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2016-07-11 02:45:04 UTC (rev 271438)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=ktexteditor
+pkgver=5.24.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=('841582f66cde2bb2712f19fe3dc2d6a3'
+         '3a03efe92f1403991c51f2859ee092f6')
+
+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 271437, ktexteditor/trunk/pkgbuild-syntax-highlight.patch)
===================================================================
--- testing-i686/pkgbuild-syntax-highlight.patch	                        (rev 0)
+++ testing-i686/pkgbuild-syntax-highlight.patch	2016-07-11 02:45:04 UTC (rev 271438)
@@ -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="2.18" kateversion="5.0" 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.18" kateversion="5.0" 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: ktexteditor/repos/testing-x86_64/PKGBUILD (from rev 271437, ktexteditor/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2016-07-11 02:45:04 UTC (rev 271438)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=ktexteditor
+pkgver=5.24.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=('841582f66cde2bb2712f19fe3dc2d6a3'
+         '3a03efe92f1403991c51f2859ee092f6')
+
+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 271437, ktexteditor/trunk/pkgbuild-syntax-highlight.patch)
===================================================================
--- testing-x86_64/pkgbuild-syntax-highlight.patch	                        (rev 0)
+++ testing-x86_64/pkgbuild-syntax-highlight.patch	2016-07-11 02:45:04 UTC (rev 271438)
@@ -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="2.18" kateversion="5.0" 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.18" kateversion="5.0" 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