void-packages/srcpkgs/dvtm/template

33 lines
840 B
Plaintext
Raw Normal View History

2013-04-08 09:58:09 +02:00
# Template file for 'dvtm'
pkgname=dvtm
version=0.9
revision=3
2013-04-08 09:58:09 +02:00
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
2013-04-08 09:58:09 +02:00
}
dvtm_package() {
depends="ncurses" # needs tic at post-install
pkg_install() {
vmove usr
}
}