From 13547b6d7b9ec7bdf3d53db941ccd0a57ccf7ed5 Mon Sep 17 00:00:00 2001 From: Ranme Fritzvilliams Date: Thu, 17 Dec 2020 19:53:34 +0300 Subject: [PATCH] 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". --- srcpkgs/xst/INSTALL | 2 +- srcpkgs/xst/template | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/srcpkgs/xst/INSTALL b/srcpkgs/xst/INSTALL index c73ae7337bb..fcad0563b68 100644 --- a/srcpkgs/xst/INSTALL +++ b/srcpkgs/xst/INSTALL @@ -1,5 +1,5 @@ case "${ACTION}" in post) - tic -s usr/share/terminfo/x/xst.terminfo + tic -sx usr/share/terminfo/x/xst.terminfo ;; esac diff --git a/srcpkgs/xst/template b/srcpkgs/xst/template index b3743d1547d..8600c680ae3 100644 --- a/srcpkgs/xst/template +++ b/srcpkgs/xst/template @@ -1,7 +1,7 @@ # Template file for 'xst' pkgname=xst version=0.8.4.1 -revision=1 +revision=2 build_style=gnu-makefile make_use_env=compliant hostmakedepends="pkg-config" @@ -21,7 +21,6 @@ do_install() { vinstall st.info 644 usr/share/terminfo/x xst.terminfo vdoc README vdoc FAQ - vsed -i 's/st-256color/xst-256color/' .Xresources vdoc .Xresources Xresources vlicense LICENSE }