void-packages/srcpkgs/dvtm/template

26 lines
788 B
Plaintext

# Template file for 'dvtm'
pkgname=dvtm
version=0.10
revision=1
build_style=gnu-makefile
make_build_args="INCS=-I."
makedepends="ncurses-devel"
depends="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/"
license="MIT/X11"
distfiles="http://www.brain-dump.org/projects/dvtm/$pkgname-$version.tar.gz"
checksum=7750872578e259d86c79277c19f3715c1fd3ff8d4f6c300ff8e12b270db86651
pre_build() {
# Do not run tic, useless in build environment.
sed -i 's,tic,/bin/true,g' Makefile
sed -i 's,@strip,@${STRIP},g' Makefile
sed -i 's,LDFLAGS += -L/usr/lib -L/usr/local/lib,LDFLAGS += ,g' config.mk
}
post_install() {
vinstall dvtm.info 644 usr/share/terminfo/d
}