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'
|
# Template file for 'source-highlight'
|
||||||
pkgname=source-highlight
|
pkgname=source-highlight
|
||||||
version=3.1.9
|
version=3.1.9
|
||||||
revision=3
|
revision=4
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--with-boost=${XBPS_CROSS_BASE}/usr
|
configure_args="--with-boost=${XBPS_CROSS_BASE}/usr
|
||||||
--with-bash-completion=/usr/share/bash-completion/completions"
|
--with-bash-completion=/usr/share/bash-completion/completions"
|
||||||
|
@ -17,6 +17,11 @@ if [ "$CROSS_BUILD" ]; then
|
||||||
hostmakedepends="source-highlight"
|
hostmakedepends="source-highlight"
|
||||||
fi
|
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() {
|
post_configure() {
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
sed -e 's,SRCHILITEEXE =.*,SRCHILITEEXE = source-highlight,g' -i doc/Makefile
|
sed -e 's,SRCHILITEEXE =.*,SRCHILITEEXE = source-highlight,g' -i doc/Makefile
|
||||||
|
|
Loading…
Reference in a new issue