dvtm: properly compile/remove terminfo files.

This commit is contained in:
Juan RP 2013-04-08 10:21:03 +02:00
parent d151a520d2
commit 6f2a4197d2
3 changed files with 11 additions and 3 deletions

View file

@ -1,6 +1,6 @@
case "$ACTION" in
post)
# Compile the terminfo description.
tic -s usr/share/terminfo/d/dvtm
tic -s usr/share/terminfo/d/dvtm.info
;;
esac

7
srcpkgs/dvtm/REMOVE Normal file
View file

@ -0,0 +1,7 @@
case "$ACTION" in
pre)
# Remove compiled terminfo files.
rm -f usr/share/terminfo/d/dvtm-256color
rm -f usr/share/terminfo/d/dvtm
;;
esac

View file

@ -1,8 +1,9 @@
# Template file for 'dvtm'
pkgname=dvtm
version=0.9
revision=2
revision=3
makedepends="ncurses-devel"
fulldepends="ncurses" # needs tic at post-install
short_desc="Tiling window manager for the console"
maintainer="pancake <pancake@nopcode.org>"
homepage="http://www.brain-dump.org/projects/dvtm/"
@ -21,5 +22,5 @@ do_install() {
make install DESTDIR=${DESTDIR} MANPREFIX=/usr/share/man PREFIX=/usr
# Install terminfo file to the correct dir.
vinstall dvtm.info 644 usr/share/terminfo/d dvtm
vinstall dvtm.info 644 usr/share/terminfo/d
}