void-packages/srcpkgs/tig/template
Nathan Owens 168e4bd276 tig: add segfault patch
Signed-off-by: Nathan Owens <ndowens04@gmail.com>
2020-01-04 09:09:25 +01:00

25 lines
742 B
Bash

# Template file for 'tig'
pkgname=tig
version=2.5.0
revision=2
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=a58791274780e9106c37822b098aa52c93c53d8a66d97b3c3e6044bf9811c89a
pre_configure() {
NOCONFIGURE=1 ./autogen.sh
}
post_install() {
vinstall contrib/tig-completion.bash 644 usr/share/bash-completion/completions tig
}