# Template file for 'tig'
pkgname=tig
version=2.2.2
revision=1
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="https://jonas.github.io/tig/"
distfiles="https://github.com/jonas/tig/releases/download/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
checksum=316214d87f7693abc0cbe8ebbb85decdf5e1b49d7ad760ac801af3dd73385e35

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