diff --git a/srcpkgs/tig/template b/srcpkgs/tig/template index ae318e1d9a1..27d033a2bb4 100644 --- a/srcpkgs/tig/template +++ b/srcpkgs/tig/template @@ -1,10 +1,11 @@ # Template file for 'tig' pkgname=tig -version=2.3.2 +version=2.3.3 revision=1 +wrksrc="${pkgname}-${pkgname}-${version}" build_style=gnu-configure make_install_args="install-doc-man" -hostmakedepends="xmlto asciidoc" +hostmakedepends="xmlto asciidoc automake autoconf pkg-config" makedepends="ncurses-devel" depends="git" conf_files="/etc/tigrc" @@ -12,8 +13,12 @@ short_desc="Text-mode interface for Git" maintainer="Juan RP " license="GPL-2" homepage="https://jonas.github.io/tig/" -distfiles="https://github.com/jonas/tig/releases/download/${pkgname}-${version}/${pkgname}-${version}.tar.gz" -checksum=6410e51c6149d76eac3510d04f9a736139f85e7c881646937d009caacf98cff1 +distfiles="https://github.com/jonas/tig/archive/tig-${version}.tar.gz" +checksum=18a5a9c05735f3e457ac0c74ab6663b9e6087148d975c45f3f88bebf07a718ff + +pre_configure() { + NOCONFIGURE=1 ./autogen.sh +} post_install() { vinstall contrib/tig-completion.bash 644 usr/share/bash-completion/completions tig