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