From 206335a611ace1a38ebf37034a1cf4423b06deb6 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 21 Oct 2014 22:53:51 +0200 Subject: [PATCH] st: works if the terminfo entries are generated and its files removed properly. --- srcpkgs/st/INSTALL | 2 +- srcpkgs/st/REMOVE | 2 +- srcpkgs/st/template | 7 ++++--- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/srcpkgs/st/INSTALL b/srcpkgs/st/INSTALL index c98f3c76c2b..543529476d8 100644 --- a/srcpkgs/st/INSTALL +++ b/srcpkgs/st/INSTALL @@ -1,5 +1,5 @@ case "${ACTION}" in post) - tic -s st.info + tic -s usr/share/terminfo/s/st.terminfo ;; esac diff --git a/srcpkgs/st/REMOVE b/srcpkgs/st/REMOVE index 026ddb590ab..fdaa9d45b95 100644 --- a/srcpkgs/st/REMOVE +++ b/srcpkgs/st/REMOVE @@ -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 diff --git a/srcpkgs/st/template b/srcpkgs/st/template index 7ea59d6bc80..8cf6a058dce 100644 --- a/srcpkgs/st/template +++ b/srcpkgs/st/template @@ -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 }