rxvt-unicode: hack cross.

This commit is contained in:
Leah Neukirchen 2021-05-17 11:17:21 +02:00
parent 4838b941c9
commit f8423fe34b
1 changed files with 8 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'rxvt-unicode' # Template file for 'rxvt-unicode'
pkgname=rxvt-unicode pkgname=rxvt-unicode
version=9.26 version=9.26
revision=11 revision=12
build_style=gnu-configure build_style=gnu-configure
configure_args=" configure_args="
--with-terminfo=/usr/share/terminfo --enable-256-color --with-terminfo=/usr/share/terminfo --enable-256-color
@ -57,6 +57,13 @@ do_configure() {
fi fi
} }
pre_configure() {
if [ "$build_option_perl" ]; then
sed -i 's/rxvt_perl_link=no/rxvt_perl_link=yes/' configure
sed -i '/PERLFLAGS=/d' configure
fi
}
pre_install() { pre_install() {
export TERMINFO="${DESTDIR}/usr/share/terminfo" export TERMINFO="${DESTDIR}/usr/share/terminfo"
mkdir -p $TERMINFO mkdir -p $TERMINFO