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 case "${ACTION}" in
post) post)
tic -s st.info tic -s usr/share/terminfo/s/st.terminfo
;; ;;
esac esac

View file

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

View file

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