void-packages/srcpkgs/dvtm/template

26 lines
778 B
Text
Raw Normal View History

2013-04-08 07:58:09 +00:00
# Template file for 'dvtm'
pkgname=dvtm
2014-11-16 18:46:30 +00:00
version=0.13
2014-07-07 18:02:24 +00:00
revision=1
2014-01-01 17:00:38 +00:00
build_style=gnu-makefile
make_build_args="INCS=-I."
2013-04-08 07:58:09 +00:00
makedepends="ncurses-devel"
depends="ncurses" # needs tic at post-install
2013-04-08 07:58:09 +00:00
short_desc="Tiling window manager for the console"
maintainer="Juan RP <xtraeme@gmail.com>"
2013-04-08 07:58:09 +00:00
homepage="http://www.brain-dump.org/projects/dvtm/"
license="MIT/X11"
distfiles="http://www.brain-dump.org/projects/dvtm/$pkgname-$version.tar.gz"
2014-11-16 18:46:30 +00:00
checksum=525dba7c9da0b8e18baa910c564cadd499c28ba8aa463c6a3200ba4ce3882568
2013-04-08 07:58:09 +00:00
2014-01-01 17:00:38 +00:00
pre_build() {
2013-04-08 07:58:09 +00:00
# Do not run tic, useless in build environment.
2014-01-01 17:00:38 +00:00
sed -i 's,tic,/bin/true,g' Makefile
2014-11-16 18:46:30 +00:00
sed -i '/^STRIP =/d' config.mk
2014-01-01 17:00:38 +00:00
sed -i 's,LDFLAGS += -L/usr/lib -L/usr/local/lib,LDFLAGS += ,g' config.mk
2013-04-08 07:58:09 +00:00
}
2014-01-01 17:00:38 +00:00
post_install() {
vinstall dvtm.info 644 usr/share/terminfo/d
2013-04-08 07:58:09 +00:00
}