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

Felix Yan felixonmars at archlinux.org
Mon Aug 14 11:01:28 UTC 2017


    Date: Monday, August 14, 2017 @ 11:01:28
  Author: felixonmars
Revision: 302118

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

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

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

Copied: syntax-highlighting/repos/testing-i686/PKGBUILD (from rev 302117, syntax-highlighting/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2017-08-14 11:01:28 UTC (rev 302118)
@@ -0,0 +1,44 @@
+# $Id: PKGBUILD 278167 2016-10-10 12:21:17Z arojas $
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=syntax-highlighting
+pkgver=5.37.0
+pkgrel=1
+pkgdesc='Syntax highlighting engine for structured text and code'
+arch=(i686 x86_64)
+url='https://community.kde.org/Frameworks'
+license=(GPL2)
+depends=(qt5-base)
+makedepends=(extra-cmake-modules qt5-xmlpatterns qt5-tools doxygen)
+groups=(kf5)
+source=("https://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"{,.sig}
+        pkgbuild-syntax-highlight.patch)
+sha256sums=('e2d075482bc5409646db40374c6caa0b055276e1a5cd8e30065e9f4fd0baa6d0'
+            'SKIP'
+            '4321ee61f2465966f87dde89cf60e39b30de14e82b492d9a11a5c7e725b1ad8f')
+validpgpkeys=(53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB) # David Faure <faure at kde.org>
+
+prepare() {
+  mkdir -p build
+
+# Add PKGBUILD syntax highlighting
+  cd $pkgname-$pkgver
+  patch -p1 -i ../pkgbuild-syntax-highlight.patch
+}
+
+build() {
+  cd build
+  cmake ../$pkgname-$pkgver \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_LIBDIR=lib \
+    -DBUILD_TESTING=OFF \
+    -DBUILD_QCH=ON
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+}

Copied: syntax-highlighting/repos/testing-i686/pkgbuild-syntax-highlight.patch (from rev 302117, syntax-highlighting/trunk/pkgbuild-syntax-highlight.patch)
===================================================================
--- testing-i686/pkgbuild-syntax-highlight.patch	                        (rev 0)
+++ testing-i686/pkgbuild-syntax-highlight.patch	2017-08-14 11:01:28 UTC (rev 302118)
@@ -0,0 +1,11 @@
+--- src/data/syntax/bash.xml~	2013-06-13 09:46:51.569245577 +0000
++++ src/data/syntax/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="4" 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="4" 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: syntax-highlighting/repos/testing-x86_64/PKGBUILD (from rev 302117, syntax-highlighting/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2017-08-14 11:01:28 UTC (rev 302118)
@@ -0,0 +1,44 @@
+# $Id: PKGBUILD 278167 2016-10-10 12:21:17Z arojas $
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=syntax-highlighting
+pkgver=5.37.0
+pkgrel=1
+pkgdesc='Syntax highlighting engine for structured text and code'
+arch=(i686 x86_64)
+url='https://community.kde.org/Frameworks'
+license=(GPL2)
+depends=(qt5-base)
+makedepends=(extra-cmake-modules qt5-xmlpatterns qt5-tools doxygen)
+groups=(kf5)
+source=("https://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"{,.sig}
+        pkgbuild-syntax-highlight.patch)
+sha256sums=('e2d075482bc5409646db40374c6caa0b055276e1a5cd8e30065e9f4fd0baa6d0'
+            'SKIP'
+            '4321ee61f2465966f87dde89cf60e39b30de14e82b492d9a11a5c7e725b1ad8f')
+validpgpkeys=(53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB) # David Faure <faure at kde.org>
+
+prepare() {
+  mkdir -p build
+
+# Add PKGBUILD syntax highlighting
+  cd $pkgname-$pkgver
+  patch -p1 -i ../pkgbuild-syntax-highlight.patch
+}
+
+build() {
+  cd build
+  cmake ../$pkgname-$pkgver \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_LIBDIR=lib \
+    -DBUILD_TESTING=OFF \
+    -DBUILD_QCH=ON
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+}

Copied: syntax-highlighting/repos/testing-x86_64/pkgbuild-syntax-highlight.patch (from rev 302117, syntax-highlighting/trunk/pkgbuild-syntax-highlight.patch)
===================================================================
--- testing-x86_64/pkgbuild-syntax-highlight.patch	                        (rev 0)
+++ testing-x86_64/pkgbuild-syntax-highlight.patch	2017-08-14 11:01:28 UTC (rev 302118)
@@ -0,0 +1,11 @@
+--- src/data/syntax/bash.xml~	2013-06-13 09:46:51.569245577 +0000
++++ src/data/syntax/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="4" 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="4" 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