void-packages/srcpkgs/dvtm/template

32 lines
840 B
Text

# Template file for 'dvtm'
pkgname=dvtm
version=0.9
revision=3
makedepends="ncurses-devel"
short_desc="Tiling window manager for the console"
maintainer="pancake <pancake@nopcode.org>"
homepage="http://www.brain-dump.org/projects/dvtm/"
license="MIT/X11"
distfiles="http://www.brain-dump.org/projects/dvtm/$pkgname-$version.tar.gz"
checksum=c751fb5778ecd24465c0db0e5ab9ac0a3e0dd61ab006708d6168fd609e81aa98
do_build() {
# Do not run tic, useless in build environment.
sed s,tic,/bin/true,g -i Makefile
make PREFIX=/usr MANPREFIX=/usr/share/man ${makejobs}
}
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_package() {
depends="ncurses" # needs tic at post-install
pkg_install() {
vmove usr
}
}