void-packages/srcpkgs/tig/template

27 lines
779 B
Bash

# Template file for 'tig'
pkgname=tig
version=2.5.5
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 pcre2-devel"
depends="git"
conf_files="/etc/tigrc"
short_desc="Text-mode interface for Git"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-2.0-only"
homepage="https://jonas.github.io/tig/"
changelog="https://github.com/jonas/tig/blob/master/NEWS.adoc"
distfiles="https://github.com/jonas/tig/archive/tig-${version}.tar.gz"
checksum=eac8ea96aabe1583ba04fbc6e02a8b725d4093ae1939f19a426a301602ffe4b7
pre_configure() {
NOCONFIGURE=1 ./autogen.sh
}
post_install() {
vcompletion contrib/tig-completion.bash bash
}