mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-02 02:42:56 +02:00
st: works if the terminfo entries are generated and its files removed properly.
This commit is contained in:
parent
1e1acba9ba
commit
206335a611
3 changed files with 6 additions and 5 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue