mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-06 15:13:51 +02:00
st: add ncurses to st-terminfo dependencies + fix
st-terminfo.INSTALL uses tic to compile terminfo entries, but there's no guarantee that tic is actually installed. This commit adds ncurses (the provider of tic) to the dependencies of st-terminfo. It also adds missing terminfo entries to st-terminfo.REMOVE and replaces sed with vsed.
This commit is contained in:
parent
6042aa21ed
commit
a64f7becd2
2 changed files with 6 additions and 2 deletions
|
@ -1,6 +1,9 @@
|
|||
case "${ACTION}" in
|
||||
pre)
|
||||
rm usr/share/terminfo/s/st
|
||||
rm usr/share/terminfo/s/st-bs
|
||||
rm usr/share/terminfo/s/st-bs-256color
|
||||
rm usr/share/terminfo/s/st-mono
|
||||
rm usr/share/terminfo/s/st-meta
|
||||
rm usr/share/terminfo/s/st-meta-256color
|
||||
rm usr/share/terminfo/s/st-256color
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'st'
|
||||
pkgname=st
|
||||
version=0.8.4
|
||||
revision=2
|
||||
revision=3
|
||||
build_style=gnu-makefile
|
||||
make_use_env=compliant
|
||||
hostmakedepends="pkg-config"
|
||||
|
@ -18,7 +18,7 @@ pre_build() {
|
|||
sed -i 's|Liberation Mono|Monospace|g' config.def.h
|
||||
[ -e ${FILESDIR}/config.h ] && cp ${FILESDIR}/config.h config.h
|
||||
# We will use tic after install. See INSTALL.
|
||||
sed -i '/tic/d' Makefile
|
||||
vsed -i Makefile -e '/tic/d'
|
||||
}
|
||||
|
||||
post_install() {
|
||||
|
@ -29,6 +29,7 @@ post_install() {
|
|||
|
||||
st-terminfo_package() {
|
||||
short_desc+=" - terminfo data"
|
||||
depends="ncurses"
|
||||
pkg_install() {
|
||||
vmove usr/share/terminfo
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue