From 6e9519d5dbc97ca265c36109e9166e121d667443 Mon Sep 17 00:00:00 2001 From: meator Date: Sat, 25 Sep 2021 14:22:43 +0200 Subject: [PATCH] st: add ncurses to st-terminfo dependencies + fix --- srcpkgs/st/st-terminfo.REMOVE | 3 +++ srcpkgs/st/template | 5 +++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/srcpkgs/st/st-terminfo.REMOVE b/srcpkgs/st/st-terminfo.REMOVE index 6911eb3e614d..ad3893f3269a 100644 --- a/srcpkgs/st/st-terminfo.REMOVE +++ b/srcpkgs/st/st-terminfo.REMOVE @@ -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 diff --git a/srcpkgs/st/template b/srcpkgs/st/template index 0041346d2b84..fe9945094ec7 100644 --- a/srcpkgs/st/template +++ b/srcpkgs/st/template @@ -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 }