# Template file for 'tig'
pkgname=tig
version=1.0
revision=2
build_style=gnu-configure
make_install_args="install-doc-man"
makedepends="ncurses-devel"
fulldepends="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=e1ecadef82027a94a6489e84a5c02fd5c0d4977bcb13ba2df0a52cca05ad6f71
long_desc="
 Tig is a git repository browser that additionally can act as a pager for
 output from various git commands.

 When browsing repositories, it uses the underlying git commands to present
 the user with various views, such as summarized revision log and showing
 the commit with the log message, diffstat, and the diff.

 Using it as a pager, it will display input from stdin and colorize it."

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