st: works if the terminfo entries are generated and its files removed properly.

This commit is contained in:
Juan RP 2014-10-21 22:53:51 +02:00
parent 1e1acba9ba
commit 206335a611
3 changed files with 6 additions and 5 deletions

View File

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

View File

@ -1,5 +1,5 @@
case "${ACTION}" in
post)
pre)
rm /usr/share/terminfo/s/st
rm /usr/share/terminfo/s/st-meta
rm /usr/share/terminfo/s/st-meta-256color

View File

@ -1,7 +1,7 @@
# Template file for 'st'
pkgname=st
version=0.5
revision=3
revision=4
build_style=gnu-makefile
hostmakedepends="pkg-config"
makedepends="fontconfig-devel libX11-devel libXft-devel terminus-font"
@ -24,6 +24,7 @@ pre_build() {
}
post_install() {
vinstall README 644 usr/share/doc/$pkgname
vinstall LICENSE 644 usr/share/licenses/$pkgname
vinstall st.info 644 usr/share/terminfo/s st.terminfo
vdoc README
vlicense LICENSE
}