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

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