From 54069acfd8329de82ce3b7e4538d6b607a648652 Mon Sep 17 00:00:00 2001 From: "Andrew J. Hesford" Date: Mon, 18 May 2020 11:52:02 -0400 Subject: [PATCH] source-highlight: correct reference to lesspipe.sh --- srcpkgs/source-highlight/template | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/srcpkgs/source-highlight/template b/srcpkgs/source-highlight/template index 087b8a3ad03..ab56401c64a 100644 --- a/srcpkgs/source-highlight/template +++ b/srcpkgs/source-highlight/template @@ -1,7 +1,7 @@ # Template file for 'source-highlight' pkgname=source-highlight version=3.1.9 -revision=3 +revision=4 build_style=gnu-configure configure_args="--with-boost=${XBPS_CROSS_BASE}/usr --with-bash-completion=/usr/share/bash-completion/completions" @@ -17,6 +17,11 @@ if [ "$CROSS_BUILD" ]; then hostmakedepends="source-highlight" fi +post_patch() { + # On Void, lesspipe is installed as lesspipe.sh + vsed -e 's/\blesspipe\b/&.sh/g' -i src/src-hilite-lesspipe.sh.in +} + post_configure() { if [ "$CROSS_BUILD" ]; then sed -e 's,SRCHILITEEXE =.*,SRCHILITEEXE = source-highlight,g' -i doc/Makefile