2013-04-08 07:58:09 +00:00
|
|
|
# Template file for 'dvtm'
|
|
|
|
pkgname=dvtm
|
2014-01-01 17:00:38 +00:00
|
|
|
version=0.10
|
|
|
|
revision=1
|
|
|
|
build_style=gnu-makefile
|
|
|
|
make_build_args="INCS=-I."
|
2013-04-08 07:58:09 +00:00
|
|
|
makedepends="ncurses-devel"
|
2014-01-01 15:10:11 +00:00
|
|
|
depends="ncurses" # needs tic at post-install
|
2013-04-08 07:58:09 +00:00
|
|
|
short_desc="Tiling window manager for the console"
|
|
|
|
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"
|
2014-01-01 17:00:38 +00:00
|
|
|
checksum=7750872578e259d86c79277c19f3715c1fd3ff8d4f6c300ff8e12b270db86651
|
2013-04-08 07:58:09 +00:00
|
|
|
|
2014-01-01 17:00:38 +00:00
|
|
|
pre_build() {
|
2013-04-08 07:58:09 +00:00
|
|
|
# Do not run tic, useless in build environment.
|
2014-01-01 17:00:38 +00:00
|
|
|
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
|
2013-04-08 07:58:09 +00:00
|
|
|
}
|
|
|
|
|
2014-01-01 17:00:38 +00:00
|
|
|
post_install() {
|
2013-04-08 08:21:03 +00:00
|
|
|
vinstall dvtm.info 644 usr/share/terminfo/d
|
2013-04-08 07:58:09 +00:00
|
|
|
}
|