xst: fix terminfo and TERM name in Xresources

INSTALL: allow tic compile with custom-defined variables such as rmxx,
smxx, Tc, Ms, Se, Ss.

Fixes "unknown capability" error caused by custom
variables added in the upstream code since the release 0.8.4.

template: replacing st-256color to xst-256color became unnecessary since
it has been fixed in the upstream code.

Leaving it as is will change "xst-256color" to "xxst-256color".
This commit is contained in:
Ranme Fritzvilliams 2020-12-17 19:53:34 +03:00 committed by Érico Nogueira Rolim
parent 303db961c4
commit 13547b6d7b
2 changed files with 2 additions and 3 deletions

View file

@ -1,5 +1,5 @@
case "${ACTION}" in case "${ACTION}" in
post) post)
tic -s usr/share/terminfo/x/xst.terminfo tic -sx usr/share/terminfo/x/xst.terminfo
;; ;;
esac esac

View file

@ -1,7 +1,7 @@
# Template file for 'xst' # Template file for 'xst'
pkgname=xst pkgname=xst
version=0.8.4.1 version=0.8.4.1
revision=1 revision=2
build_style=gnu-makefile build_style=gnu-makefile
make_use_env=compliant make_use_env=compliant
hostmakedepends="pkg-config" hostmakedepends="pkg-config"
@ -21,7 +21,6 @@ do_install() {
vinstall st.info 644 usr/share/terminfo/x xst.terminfo vinstall st.info 644 usr/share/terminfo/x xst.terminfo
vdoc README vdoc README
vdoc FAQ vdoc FAQ
vsed -i 's/st-256color/xst-256color/' .Xresources
vdoc .Xresources Xresources vdoc .Xresources Xresources
vlicense LICENSE vlicense LICENSE
} }