[arch-commits] Commit in syntax-highlighting/repos (6 files)
Antonio Rojas
arojas at archlinux.org
Sat Jul 8 12:06:54 UTC 2017
Date: Saturday, July 8, 2017 @ 12:06:54
Author: arojas
Revision: 299882
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
syntax-highlighting/repos/testing-i686/
syntax-highlighting/repos/testing-i686/PKGBUILD
(from rev 299881, syntax-highlighting/trunk/PKGBUILD)
syntax-highlighting/repos/testing-i686/pkgbuild-syntax-highlight.patch
(from rev 299881, syntax-highlighting/trunk/pkgbuild-syntax-highlight.patch)
syntax-highlighting/repos/testing-x86_64/
syntax-highlighting/repos/testing-x86_64/PKGBUILD
(from rev 299881, syntax-highlighting/trunk/PKGBUILD)
syntax-highlighting/repos/testing-x86_64/pkgbuild-syntax-highlight.patch
(from rev 299881, 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 299881, syntax-highlighting/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2017-07-08 12:06:54 UTC (rev 299882)
@@ -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.36.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=('925a8845cd3a1d1720753aaba80f364d59612d45a71de089531d5e8dfa94fdc5'
+ 'SKIP'
+ '0de3f92677e41f299278d3a9adaa012822576248fd1c4e86f5dd25e2790a4d81')
+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 299881, syntax-highlighting/trunk/pkgbuild-syntax-highlight.patch)
===================================================================
--- testing-i686/pkgbuild-syntax-highlight.patch (rev 0)
+++ testing-i686/pkgbuild-syntax-highlight.patch 2017-07-08 12:06:54 UTC (rev 299882)
@@ -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 299881, syntax-highlighting/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2017-07-08 12:06:54 UTC (rev 299882)
@@ -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.36.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=('925a8845cd3a1d1720753aaba80f364d59612d45a71de089531d5e8dfa94fdc5'
+ 'SKIP'
+ '0de3f92677e41f299278d3a9adaa012822576248fd1c4e86f5dd25e2790a4d81')
+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 299881, syntax-highlighting/trunk/pkgbuild-syntax-highlight.patch)
===================================================================
--- testing-x86_64/pkgbuild-syntax-highlight.patch (rev 0)
+++ testing-x86_64/pkgbuild-syntax-highlight.patch 2017-07-08 12:06:54 UTC (rev 299882)
@@ -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