diff --git a/srcpkgs/dvtm/template b/srcpkgs/dvtm/template index cb3dec9512..7399c5bef9 100644 --- a/srcpkgs/dvtm/template +++ b/srcpkgs/dvtm/template @@ -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 }