void-packages/srcpkgs/dvtm/template
2015-02-21 09:00:56 +01:00

25 lines
791 B
Text

# Template file for 'dvtm'
pkgname=dvtm
version=0.14
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"
distfiles="http://www.brain-dump.org/projects/dvtm/$pkgname-$version.tar.gz"
checksum=8a9bb341f8a4c578b839e22d9a707f053a27ae6df15158e16f4fee787e43747a
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() {
vlicense LICENSE
vinstall dvtm.info 644 usr/share/terminfo/d
}