dvtm: unbreak build (#1779)

This commit is contained in:
Juan RP 2015-06-13 09:43:25 +02:00
parent 2b8caf641a
commit 53377097f9
1 changed files with 5 additions and 7 deletions

View File

@ -1,9 +1,7 @@
# Template file for 'dvtm' # Template file for 'dvtm'
pkgname=dvtm pkgname=dvtm
version=0.14 version=0.14
revision=1 revision=2
build_style=gnu-makefile
make_build_args="INCS=-I."
makedepends="ncurses-devel" makedepends="ncurses-devel"
depends="ncurses" # needs tic at post-install depends="ncurses" # needs tic at post-install
short_desc="Tiling window manager for the console" 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" distfiles="http://www.brain-dump.org/projects/dvtm/$pkgname-$version.tar.gz"
checksum=8a9bb341f8a4c578b839e22d9a707f053a27ae6df15158e16f4fee787e43747a checksum=8a9bb341f8a4c578b839e22d9a707f053a27ae6df15158e16f4fee787e43747a
pre_build() { do_build() {
# Do not run tic, useless in build environment. # Do not run tic, useless in build environment.
sed -i 's,tic,/bin/true,g' Makefile sed -i 's,tic,/bin/true,g' Makefile
sed -i '/^STRIP =/d' config.mk make CC=$CC V=1
sed -i 's,LDFLAGS += -L/usr/lib -L/usr/local/lib,LDFLAGS += ,g' config.mk
} }
post_install() { do_install() {
make PREFIX=/usr DESTDIR=${DESTDIR} install
vlicense LICENSE vlicense LICENSE
vinstall dvtm.info 644 usr/share/terminfo/d vinstall dvtm.info 644 usr/share/terminfo/d
} }