# Template file for 'tig'
pkgname=tig
version=2.1.1
revision=2
build_style=gnu-configure
make_install_args="install-doc-man"
hostmakedepends="xmlto asciidoc"
makedepends="ncurses-devel"
depends="git"
conf_files="/etc/tigrc"
short_desc="Text-mode interface for Git"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
homepage="http://jonas.nitro.dk/tig/"
distfiles="http://jonas.nitro.dk/tig/releases/tig-${version}.tar.gz"
checksum=50c5179fd564b829b6b2cec087e66f10cf8799601de19350df0772ae77e4852f

post_install() {
	vinstall contrib/tig-completion.bash 644 usr/share/bash-completion/completions tig
}
