source-highlight: correct reference to lesspipe.sh
This commit is contained in:
parent
d5eea77836
commit
45ea99db71
1 changed files with 6 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue