[arch-commits] Commit in syntax-highlighting (7 files)

Antonio Rojas arojas at archlinux.org
Tue Nov 15 13:58:53 UTC 2016


    Date: Tuesday, November 15, 2016 @ 13:58:52
  Author: arojas
Revision: 280822

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

Added:
  syntax-highlighting/repos/
  syntax-highlighting/repos/testing-i686/
  syntax-highlighting/repos/testing-i686/PKGBUILD
    (from rev 280821, syntax-highlighting/trunk/PKGBUILD)
  syntax-highlighting/repos/testing-i686/pkgbuild-syntax-highlight.patch
    (from rev 280821, syntax-highlighting/trunk/pkgbuild-syntax-highlight.patch)
  syntax-highlighting/repos/testing-x86_64/
  syntax-highlighting/repos/testing-x86_64/PKGBUILD
    (from rev 280821, syntax-highlighting/trunk/PKGBUILD)
  syntax-highlighting/repos/testing-x86_64/pkgbuild-syntax-highlight.patch
    (from rev 280821, 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 280821, syntax-highlighting/trunk/PKGBUILD)
===================================================================
--- repos/testing-i686/PKGBUILD	                        (rev 0)
+++ repos/testing-i686/PKGBUILD	2016-11-15 13:58:52 UTC (rev 280822)
@@ -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.28.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=('68221bafb3e5dbf04be6317526d18d2d'
+         '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 280821, syntax-highlighting/trunk/pkgbuild-syntax-highlight.patch)
===================================================================
--- repos/testing-i686/pkgbuild-syntax-highlight.patch	                        (rev 0)
+++ repos/testing-i686/pkgbuild-syntax-highlight.patch	2016-11-15 13:58:52 UTC (rev 280822)
@@ -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 280821, syntax-highlighting/trunk/PKGBUILD)
===================================================================
--- repos/testing-x86_64/PKGBUILD	                        (rev 0)
+++ repos/testing-x86_64/PKGBUILD	2016-11-15 13:58:52 UTC (rev 280822)
@@ -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.28.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=('68221bafb3e5dbf04be6317526d18d2d'
+         '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 280821, syntax-highlighting/trunk/pkgbuild-syntax-highlight.patch)
===================================================================
--- repos/testing-x86_64/pkgbuild-syntax-highlight.patch	                        (rev 0)
+++ repos/testing-x86_64/pkgbuild-syntax-highlight.patch	2016-11-15 13:58:52 UTC (rev 280822)
@@ -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