summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2019-01-31 21:04:32 (GMT)
committerBritney Fransen <brfransen@gmail.com>2019-01-31 21:04:32 (GMT)
commit69dc5c6d3d597a39c359220d00192b5166e6ed63 (patch)
tree333b8df26a3a43ad00261f66e065841d16ad467a
parent49871a23a31f858e9418988d6ee43908bd40488c (diff)
downloadlinhes_pkgbuild-69dc5c6d3d597a39c359220d00192b5166e6ed63.zip
linhes_pkgbuild-69dc5c6d3d597a39c359220d00192b5166e6ed63.tar.gz
linhes_pkgbuild-69dc5c6d3d597a39c359220d00192b5166e6ed63.tar.bz2
source-highlight: rebuild
-rw-r--r--abs/extra/source-highlight/PKGBUILD14
-rw-r--r--abs/extra/source-highlight/fix-zsh-highlighting-hangups.patch13
2 files changed, 23 insertions, 4 deletions
diff --git a/abs/extra/source-highlight/PKGBUILD b/abs/extra/source-highlight/PKGBUILD
index 6c1ae0c..250ab53 100644
--- a/abs/extra/source-highlight/PKGBUILD
+++ b/abs/extra/source-highlight/PKGBUILD
@@ -1,18 +1,24 @@
-# $Id$
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Douglas Soares de Andrade <douglas@archlinux.org>
pkgname=source-highlight
pkgver=3.1.8
-pkgrel=14
+pkgrel=18
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')
+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}
diff --git a/abs/extra/source-highlight/fix-zsh-highlighting-hangups.patch b/abs/extra/source-highlight/fix-zsh-highlighting-hangups.patch
new file mode 100644
index 0000000..200c9f8
--- /dev/null
+++ b/abs/extra/source-highlight/fix-zsh-highlighting-hangups.patch
@@ -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:]]+)\)'