void-packages/srcpkgs/dvtm/template
2015-06-13 09:43:25 +02:00

23 lines
694 B
Bash

# Template file for 'dvtm'
pkgname=dvtm
version=0.14
revision=2
makedepends="ncurses-devel"
depends="ncurses" # needs tic at post-install
short_desc="Tiling window manager for the console"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://www.brain-dump.org/projects/dvtm/"
license="MIT"
distfiles="http://www.brain-dump.org/projects/dvtm/$pkgname-$version.tar.gz"
checksum=8a9bb341f8a4c578b839e22d9a707f053a27ae6df15158e16f4fee787e43747a
do_build() {
# Do not run tic, useless in build environment.
sed -i 's,tic,/bin/true,g' Makefile
make CC=$CC V=1
}
do_install() {
make PREFIX=/usr DESTDIR=${DESTDIR} install
vlicense LICENSE
vinstall dvtm.info 644 usr/share/terminfo/d
}