void-packages/srcpkgs/dvtm/template

26 lines
786 B
Plaintext

# Template file for 'dvtm'
pkgname=dvtm
version=0.12
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=6eb06f109f6fb012360ecc787566623267f16d092d7a02d7c0198df360d79c61
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
}