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

Felix Yan fyan at archlinux.org
Sat Sep 12 05:27:49 UTC 2015


    Date: Saturday, September 12, 2015 @ 07:27:49
  Author: fyan
Revision: 245962

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

Added:
  ktexteditor/repos/testing-i686/
  ktexteditor/repos/testing-i686/PKGBUILD
    (from rev 245961, ktexteditor/trunk/PKGBUILD)
  ktexteditor/repos/testing-i686/pkgbuild-syntax-highlight.patch
    (from rev 245961, ktexteditor/trunk/pkgbuild-syntax-highlight.patch)
  ktexteditor/repos/testing-x86_64/
  ktexteditor/repos/testing-x86_64/PKGBUILD
    (from rev 245961, ktexteditor/trunk/PKGBUILD)
  ktexteditor/repos/testing-x86_64/pkgbuild-syntax-highlight.patch
    (from rev 245961, ktexteditor/trunk/pkgbuild-syntax-highlight.patch)

------------------------------------------------+
 testing-i686/PKGBUILD                          |   41 +++++++++++++++++++++++
 testing-i686/pkgbuild-syntax-highlight.patch   |   11 ++++++
 testing-x86_64/PKGBUILD                        |   41 +++++++++++++++++++++++
 testing-x86_64/pkgbuild-syntax-highlight.patch |   11 ++++++
 4 files changed, 104 insertions(+)

Copied: ktexteditor/repos/testing-i686/PKGBUILD (from rev 245961, ktexteditor/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2015-09-12 05:27:49 UTC (rev 245962)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=ktexteditor
+pkgver=5.14.0
+pkgrel=1
+pkgdesc='Advanced embeddable text editor'
+arch=('i686' 'x86_64')
+url='https://projects.kde.org/projects/frameworks/ktexteditor'
+license=('LGPL')
+depends=('kparts' 'libgit2')
+makedepends=('extra-cmake-modules')
+groups=('kf5')
+source=("http://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"
+        'pkgbuild-syntax-highlight.patch')
+md5sums=('2c5c660aea6c55c3f21f29cc3f1df604'
+         'cc66f75c967dd7ac7c97375875772d69')
+
+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 \
+    -DLIB_INSTALL_DIR=lib \
+    -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
+    -DBUILD_TESTING=OFF
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="${pkgdir}" install
+}

Copied: ktexteditor/repos/testing-i686/pkgbuild-syntax-highlight.patch (from rev 245961, ktexteditor/trunk/pkgbuild-syntax-highlight.patch)
===================================================================
--- testing-i686/pkgbuild-syntax-highlight.patch	                        (rev 0)
+++ testing-i686/pkgbuild-syntax-highlight.patch	2015-09-12 05:27:49 UTC (rev 245962)
@@ -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.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: ktexteditor/repos/testing-x86_64/PKGBUILD (from rev 245961, ktexteditor/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2015-09-12 05:27:49 UTC (rev 245962)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=ktexteditor
+pkgver=5.14.0
+pkgrel=1
+pkgdesc='Advanced embeddable text editor'
+arch=('i686' 'x86_64')
+url='https://projects.kde.org/projects/frameworks/ktexteditor'
+license=('LGPL')
+depends=('kparts' 'libgit2')
+makedepends=('extra-cmake-modules')
+groups=('kf5')
+source=("http://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"
+        'pkgbuild-syntax-highlight.patch')
+md5sums=('2c5c660aea6c55c3f21f29cc3f1df604'
+         'cc66f75c967dd7ac7c97375875772d69')
+
+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 \
+    -DLIB_INSTALL_DIR=lib \
+    -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
+    -DBUILD_TESTING=OFF
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="${pkgdir}" install
+}

Copied: ktexteditor/repos/testing-x86_64/pkgbuild-syntax-highlight.patch (from rev 245961, ktexteditor/trunk/pkgbuild-syntax-highlight.patch)
===================================================================
--- testing-x86_64/pkgbuild-syntax-highlight.patch	                        (rev 0)
+++ testing-x86_64/pkgbuild-syntax-highlight.patch	2015-09-12 05:27:49 UTC (rev 245962)
@@ -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.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