void-packages/srcpkgs/dvtm/template
2014-11-16 19:46:39 +01:00

25 lines
778 B
Text

# Template file for 'dvtm'
pkgname=dvtm
version=0.13
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="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=525dba7c9da0b8e18baa910c564cadd499c28ba8aa463c6a3200ba4ce3882568
pre_build() {
# Do not run tic, useless in build environment.
sed -i 's,tic,/bin/true,g' Makefile
sed -i '/^STRIP =/d' config.mk
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
}