# Template file for 'tig'
pkgname=tig
version=2.3.0
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=686f0386927904dc6410f0b1a712cb8bd7fff3303f688d7dc43162f4ad16c0ed

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