void-packages/srcpkgs/dvtm/template

23 lines
695 B
Bash

# Template file for 'dvtm'
pkgname=dvtm
version=0.15
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.org>"
license="MIT"
homepage="http://www.brain-dump.org/projects/dvtm/"
distfiles="http://www.brain-dump.org/projects/dvtm/$pkgname-$version.tar.gz"
checksum=8f2015c05e2ad82f12ae4cf12b363d34f527a4bbc8c369667f239e4542e1e510
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
}