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

Antonio Rojas arojas at archlinux.org
Sat Jan 14 12:16:34 UTC 2017


    Date: Saturday, January 14, 2017 @ 12:16:33
  Author: arojas
Revision: 286327

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

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

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

Copied: syntax-highlighting/repos/testing-i686/PKGBUILD (from rev 286326, syntax-highlighting/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2017-01-14 12:16:33 UTC (rev 286327)
@@ -0,0 +1,42 @@
+# $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.30.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)
+groups=(kf5)
+source=("http://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"{,.sig}
+        pkgbuild-syntax-highlight.patch)
+md5sums=('cf30b86038b669f905cc273a9cf1a9c7'
+         'SKIP'
+         '87a971372448a6336de9d603ddb568f2')
+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
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+}

Copied: syntax-highlighting/repos/testing-i686/pkgbuild-syntax-highlight.patch (from rev 286326, syntax-highlighting/trunk/pkgbuild-syntax-highlight.patch)
===================================================================
--- testing-i686/pkgbuild-syntax-highlight.patch	                        (rev 0)
+++ testing-i686/pkgbuild-syntax-highlight.patch	2017-01-14 12:16:33 UTC (rev 286327)
@@ -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="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: syntax-highlighting/repos/testing-x86_64/PKGBUILD (from rev 286326, syntax-highlighting/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2017-01-14 12:16:33 UTC (rev 286327)
@@ -0,0 +1,42 @@
+# $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.30.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)
+groups=(kf5)
+source=("http://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"{,.sig}
+        pkgbuild-syntax-highlight.patch)
+md5sums=('cf30b86038b669f905cc273a9cf1a9c7'
+         'SKIP'
+         '87a971372448a6336de9d603ddb568f2')
+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
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+}

Copied: syntax-highlighting/repos/testing-x86_64/pkgbuild-syntax-highlight.patch (from rev 286326, syntax-highlighting/trunk/pkgbuild-syntax-highlight.patch)
===================================================================
--- testing-x86_64/pkgbuild-syntax-highlight.patch	                        (rev 0)
+++ testing-x86_64/pkgbuild-syntax-highlight.patch	2017-01-14 12:16:33 UTC (rev 286327)
@@ -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="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