void-packages/srcpkgs/tig/template
2021-06-15 15:59:55 -03:00

25 lines
742 B
Bash

# Template file for 'tig'
pkgname=tig
version=2.5.4
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="Lugubris <lugubris@disroot.org>"
license="GPL-2.0-only"
homepage="https://jonas.github.io/tig/"
distfiles="https://github.com/jonas/tig/archive/tig-${version}.tar.gz"
checksum=d65bbcada30f67b0c3632edee36086c99354617b84afbce98372c45a0fd27ca9
pre_configure() {
NOCONFIGURE=1 ./autogen.sh
}
post_install() {
vinstall contrib/tig-completion.bash 644 usr/share/bash-completion/completions tig
}