void-packages/srcpkgs/dvtm/template

25 lines
786 B
Text

# Template file for 'dvtm'
pkgname=dvtm
version=0.11
revision=2
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="Juan RP <xtraeme@gmail.com>"
homepage="http://www.brain-dump.org/projects/dvtm/"
license="MIT/X11"
distfiles="http://www.brain-dump.org/projects/dvtm/$pkgname-$version.tar.gz"
checksum=01a29fdf6556f019f183bd517a1045bcc12d23561c1a84c4b5a8b3ba2d2feb87
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
}