dvtm: update to 0.10

This commit is contained in:
Ypnose 2014-01-01 18:00:38 +01:00
parent 3f0bdce50e
commit 3b73bfd163

View file

@ -1,7 +1,9 @@
# Template file for 'dvtm'
pkgname=dvtm
version=0.9
revision=3
version=0.10
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"
@ -9,18 +11,15 @@ maintainer="pancake <pancake@nopcode.org>"
homepage="http://www.brain-dump.org/projects/dvtm/"
license="MIT/X11"
distfiles="http://www.brain-dump.org/projects/dvtm/$pkgname-$version.tar.gz"
checksum=c751fb5778ecd24465c0db0e5ab9ac0a3e0dd61ab006708d6168fd609e81aa98
checksum=7750872578e259d86c79277c19f3715c1fd3ff8d4f6c300ff8e12b270db86651
do_build() {
pre_build() {
# Do not run tic, useless in build environment.
sed s,tic,/bin/true,g -i Makefile
make PREFIX=/usr MANPREFIX=/usr/share/man ${makejobs}
sed -i 's,tic,/bin/true,g' Makefile
sed -i 's,@strip,@${STRIP},g' Makefile
sed -i 's,LDFLAGS += -L/usr/lib -L/usr/local/lib,LDFLAGS += ,g' config.mk
}
do_install() {
make install DESTDIR=${DESTDIR} MANPREFIX=/usr/share/man PREFIX=/usr
# Install terminfo file to the correct dir.
post_install() {
vinstall dvtm.info 644 usr/share/terminfo/d
}