dvtm: update to 0.10

This commit is contained in:
Ypnose 2014-01-01 18:00:38 +01:00
parent 3f0bdce50e
commit 3b73bfd163
1 changed files with 10 additions and 11 deletions

View File

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