dvtm: properly compile/remove terminfo files.
This commit is contained in:
parent
d151a520d2
commit
6f2a4197d2
|
@ -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
|
||||
|
|
|
@ -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
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue