Date: Saturday, September 9, 2017 @ 11:36:51 Author: arojas Revision: 305148
archrelease: copy trunk to testing-i686, testing-x86_64 Added: syntax-highlighting/repos/testing-i686/ syntax-highlighting/repos/testing-i686/PKGBUILD (from rev 305147, syntax-highlighting/trunk/PKGBUILD) syntax-highlighting/repos/testing-i686/pkgbuild-syntax-highlight.patch (from rev 305147, syntax-highlighting/trunk/pkgbuild-syntax-highlight.patch) syntax-highlighting/repos/testing-x86_64/ syntax-highlighting/repos/testing-x86_64/PKGBUILD (from rev 305147, syntax-highlighting/trunk/PKGBUILD) syntax-highlighting/repos/testing-x86_64/pkgbuild-syntax-highlight.patch (from rev 305147, 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 305147, syntax-highlighting/trunk/PKGBUILD) =================================================================== --- testing-i686/PKGBUILD (rev 0) +++ testing-i686/PKGBUILD 2017-09-09 11:36:51 UTC (rev 305148) @@ -0,0 +1,44 @@ +# $Id: PKGBUILD 278167 2016-10-10 12:21:17Z arojas $ +# Maintainer: Antonio Rojas <aro...@archlinux.org> +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=syntax-highlighting +pkgver=5.38.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=('d4b887e2b4c0bb0d0c723325b11897d1ab38a644e3276d57eae8393928783680' + 'SKIP' + '4321ee61f2465966f87dde89cf60e39b30de14e82b492d9a11a5c7e725b1ad8f') +validpgpkeys=(53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB) # David Faure <fa...@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 305147, syntax-highlighting/trunk/pkgbuild-syntax-highlight.patch) =================================================================== --- testing-i686/pkgbuild-syntax-highlight.patch (rev 0) +++ testing-i686/pkgbuild-syntax-highlight.patch 2017-09-09 11:36:51 UTC (rev 305148) @@ -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_@.%*?+-]|\\ )"> <!-- 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 (wilb...@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 (wilb...@kde.nl)" license="LGPL"> + + <!-- (c) 2004 by Wilbert Berendsen (wilb...@kde.nl) + Changes by Matthew Woehlke (mw_tr...@users.sourceforge.net) Copied: syntax-highlighting/repos/testing-x86_64/PKGBUILD (from rev 305147, syntax-highlighting/trunk/PKGBUILD) =================================================================== --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2017-09-09 11:36:51 UTC (rev 305148) @@ -0,0 +1,44 @@ +# $Id: PKGBUILD 278167 2016-10-10 12:21:17Z arojas $ +# Maintainer: Antonio Rojas <aro...@archlinux.org> +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=syntax-highlighting +pkgver=5.38.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=('d4b887e2b4c0bb0d0c723325b11897d1ab38a644e3276d57eae8393928783680' + 'SKIP' + '4321ee61f2465966f87dde89cf60e39b30de14e82b492d9a11a5c7e725b1ad8f') +validpgpkeys=(53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB) # David Faure <fa...@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 305147, syntax-highlighting/trunk/pkgbuild-syntax-highlight.patch) =================================================================== --- testing-x86_64/pkgbuild-syntax-highlight.patch (rev 0) +++ testing-x86_64/pkgbuild-syntax-highlight.patch 2017-09-09 11:36:51 UTC (rev 305148) @@ -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_@.%*?+-]|\\ )"> <!-- 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 (wilb...@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 (wilb...@kde.nl)" license="LGPL"> + + <!-- (c) 2004 by Wilbert Berendsen (wilb...@kde.nl) + Changes by Matthew Woehlke (mw_tr...@users.sourceforge.net)