Date: Sunday, June 24, 2018 @ 19:59:55 Author: jelle Revision: 327525
archrelease: copy trunk to extra-x86_64 Added: source-highlight/repos/extra-x86_64/PKGBUILD (from rev 327524, source-highlight/trunk/PKGBUILD) source-highlight/repos/extra-x86_64/fix-zsh-highlighting-hangups.patch (from rev 327524, source-highlight/trunk/fix-zsh-highlighting-hangups.patch) Deleted: source-highlight/repos/extra-x86_64/PKGBUILD ------------------------------------+ PKGBUILD | 73 +++++++++++++++++++---------------- fix-zsh-highlighting-hangups.patch | 13 ++++++ 2 files changed, 53 insertions(+), 33 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-06-24 19:59:41 UTC (rev 327524) +++ PKGBUILD 2018-06-24 19:59:55 UTC (rev 327525) @@ -1,33 +0,0 @@ -# $Id$ -# Maintainer: Giovanni Scafora <giova...@archlinux.org> -# Contributor: Douglas Soares de Andrade <doug...@archlinux.org> - -pkgname=source-highlight -pkgver=3.1.8 -pkgrel=15 -pkgdesc="Convert source code to syntax highlighted document" -arch=('x86_64') -url="http://www.gnu.org/software/src-highlite/" -license=('GPL') -depends=('bash' 'boost-libs') -makedepends=('ctags' 'boost') -source=("ftp://ftp.gnu.org/gnu/src-highlite/${pkgname}-${pkgver}.tar.gz") -md5sums=('3243470706ef5fefdc3e43b5306a4e41') - -build() { - cd ${pkgname}-${pkgver} - - ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --with-bash-completion=/usr/share/bash-completion/completions - make -} - -package() { - cd ${pkgname}-${pkgver} - - make prefix="${pkgdir}/usr" bash_completiondir="${pkgdir}/usr/share/bash-completion/completions" install - - # PKGBUILD syntax highlighting - echo -e "\npkgbuild = sh.lang" >> "${pkgdir}"/usr/share/${pkgname}/lang.map -} Copied: source-highlight/repos/extra-x86_64/PKGBUILD (from rev 327524, source-highlight/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-06-24 19:59:55 UTC (rev 327525) @@ -0,0 +1,40 @@ +# $Id$ +# Maintainer: Giovanni Scafora <giova...@archlinux.org> +# Contributor: Douglas Soares de Andrade <doug...@archlinux.org> + +pkgname=source-highlight +pkgver=3.1.8 +pkgrel=16 +pkgdesc="Convert source code to syntax highlighted document" +arch=('x86_64') +url="http://www.gnu.org/software/src-highlite/" +license=('GPL') +depends=('bash' 'boost-libs') +makedepends=('ctags' 'boost') +source=("ftp://ftp.gnu.org/gnu/src-highlite/${pkgname}-${pkgver}.tar.gz" + "fix-zsh-highlighting-hangups.patch") +md5sums=('3243470706ef5fefdc3e43b5306a4e41' + '5b6129bca6fcd0ea252fa31bf7a988fa') + +prepare() { + cd ${pkgname}-${pkgver} + patch -Np1 -i "${srcdir}/fix-zsh-highlighting-hangups.patch" +} + +build() { + cd ${pkgname}-${pkgver} + + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --with-bash-completion=/usr/share/bash-completion/completions + make +} + +package() { + cd ${pkgname}-${pkgver} + + make prefix="${pkgdir}/usr" bash_completiondir="${pkgdir}/usr/share/bash-completion/completions" install + + # PKGBUILD syntax highlighting + echo -e "\npkgbuild = sh.lang" >> "${pkgdir}"/usr/share/${pkgname}/lang.map +} Copied: source-highlight/repos/extra-x86_64/fix-zsh-highlighting-hangups.patch (from rev 327524, source-highlight/trunk/fix-zsh-highlighting-hangups.patch) =================================================================== --- fix-zsh-highlighting-hangups.patch (rev 0) +++ fix-zsh-highlighting-hangups.patch 2018-06-24 19:59:55 UTC (rev 327525) @@ -0,0 +1,13 @@ +diff --git a/src/zsh.lang b/src/zsh.lang +index 69542a7..a0bac36 100644 +--- a/src/zsh.lang ++++ b/src/zsh.lang +@@ -35,7 +35,7 @@ keyword = "alias|always|autoload|bg|bindkey|break|builtin", + "unlimit|unset|unsetopt|until|vared|wait|whence", + "where|which|while|zcompile|zformat|zftp|zle", + "zmodload|zparseopts|zprof|zpty|zregexparse", +- "zsocket|zstyle|ztcp|" ++ "zsocket|zstyle|ztcp" + + variable = '\$\{([^[:blank:]]+)\}' + variable = '\$\(([^[:blank:]]+)\)'