void-packages/srcpkgs/tig/template

25 lines
735 B
Bash

# Template file for 'tig'
pkgname=tig
version=2.4.1
revision=1
wrksrc="${pkgname}-${pkgname}-${version}"
build_style=gnu-configure
make_install_args="install-doc-man"
hostmakedepends="xmlto asciidoc automake autoconf pkg-config"
makedepends="ncurses-devel"
depends="git"
conf_files="/etc/tigrc"
short_desc="Text-mode interface for Git"
maintainer="Juan RP <xtraeme@voidlinux.org>"
license="GPL-2"
homepage="https://jonas.github.io/tig/"
distfiles="https://github.com/jonas/tig/archive/tig-${version}.tar.gz"
checksum=833c81b04082ed318ae5fd5342193f086781e74372cf418c2f82a1313b84cedd
pre_configure() {
NOCONFIGURE=1 ./autogen.sh
}
post_install() {
vinstall contrib/tig-completion.bash 644 usr/share/bash-completion/completions tig
}