2013-04-08 09:58:09 +02:00
|
|
|
# Template file for 'dvtm'
|
|
|
|
pkgname=dvtm
|
2014-03-16 22:31:47 +01:00
|
|
|
version=0.11
|
2014-01-01 18:00:38 +01:00
|
|
|
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-03-16 22:31:47 +01:00
|
|
|
checksum=01a29fdf6556f019f183bd517a1045bcc12d23561c1a84c4b5a8b3ba2d2feb87
|
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
|
|
|
}
|