xst: generate terminfo when building & simplify

This commit is contained in:
meator 2022-07-21 21:56:28 +02:00 committed by classabbyamp
parent 621788f21d
commit 437bcf0375
3 changed files with 2 additions and 19 deletions

View File

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

View File

@ -1,8 +0,0 @@
case "${ACTION}" in
pre)
rm usr/share/terminfo/x/xst
rm usr/share/terminfo/x/xst-meta
rm usr/share/terminfo/x/xst-meta-256color
rm usr/share/terminfo/x/xst-256color
;;
esac

View File

@ -1,7 +1,7 @@
# Template file for 'xst'
pkgname=xst
version=0.8.4.1
revision=2
revision=3
build_style=gnu-makefile
make_use_env=compliant
hostmakedepends="pkg-config"
@ -14,11 +14,7 @@ homepage="https://github.com/gnotclub/xst"
distfiles="https://github.com/gnotclub/xst/archive/v${version}.tar.gz"
checksum=cbeb2da6c289415d1168559c6f58b4ce47fd266edefbabc38fd59e8b7c87226d
do_install() {
vbin xst
vman st.1 xst.1
vinstall st.info 644 usr/share/terminfo/x xst.terminfo
post_install() {
vdoc README
vdoc FAQ
vdoc .Xresources Xresources