void-packages/srcpkgs/dvtm/template

26 lines
794 B
Bash
Raw Normal View History

2013-04-08 09:58:09 +02:00
# Template file for 'dvtm'
pkgname=dvtm
2015-02-21 09:00:56 +01:00
version=0.14
2014-07-07 20:02:24 +02:00
revision=1
2014-01-01 18:00:38 +01:00
build_style=gnu-makefile
make_build_args="INCS=-I."
2013-04-08 09:58:09 +02:00
makedepends="ncurses-devel"
depends="ncurses" # needs tic at post-install
2013-04-08 09:58:09 +02:00
short_desc="Tiling window manager for the console"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
2013-04-08 09:58:09 +02:00
homepage="http://www.brain-dump.org/projects/dvtm/"
2015-02-21 09:00:56 +01:00
license="MIT"
2013-04-08 09:58:09 +02:00
distfiles="http://www.brain-dump.org/projects/dvtm/$pkgname-$version.tar.gz"
2015-02-21 09:00:56 +01:00
checksum=8a9bb341f8a4c578b839e22d9a707f053a27ae6df15158e16f4fee787e43747a
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
2014-11-16 19:46:30 +01:00
sed -i '/^STRIP =/d' config.mk
2014-01-01 18:00:38 +01:00
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() {
2015-02-21 09:00:56 +01:00
vlicense LICENSE
vinstall dvtm.info 644 usr/share/terminfo/d
2013-04-08 09:58:09 +02:00
}