dvtm: unbreak build (#1779)

This commit is contained in:
Juan RP 2015-06-13 09:43:25 +02:00
parent 2b8caf641a
commit 53377097f9

View file

@ -1,9 +1,7 @@
# Template file for 'dvtm'
pkgname=dvtm
version=0.14
revision=1
build_style=gnu-makefile
make_build_args="INCS=-I."
revision=2
makedepends="ncurses-devel"
depends="ncurses" # needs tic at post-install
short_desc="Tiling window manager for the console"
@ -13,13 +11,13 @@ license="MIT"
distfiles="http://www.brain-dump.org/projects/dvtm/$pkgname-$version.tar.gz"
checksum=8a9bb341f8a4c578b839e22d9a707f053a27ae6df15158e16f4fee787e43747a
pre_build() {
do_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
make CC=$CC V=1
}
post_install() {
do_install() {
make PREFIX=/usr DESTDIR=${DESTDIR} install
vlicense LICENSE
vinstall dvtm.info 644 usr/share/terminfo/d
}