mercurial: update to 5.2.1

Signed-off-by: Nathan Owens <ndowens04@gmail.com>
This commit is contained in:
Nathan Owens 2019-12-12 18:44:10 -06:00 committed by Piraty
parent f099eaa5dc
commit 0ea1b9cf0d

View file

@ -1,6 +1,6 @@
# Template file for 'mercurial'
pkgname=mercurial
version=5.2
version=5.2.1
revision=1
build_style=python3-module
pycompile_module="hgdemandimport hgext hgext3rd mercurial"
@ -12,15 +12,14 @@ maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://www.mercurial-scm.org/"
distfiles="https://www.mercurial-scm.org/release/mercurial-${version}.tar.gz"
checksum=ff030e923f03ee15c91191996fcb099bfcfa60c7df263be227f67b6a65d36194
checksum=18b1550abf9872a6905eb67527bc73e13f2a448830cca9be883528b0ce68b3df
post_install() {
vmkdir usr/share/man/man1
vmkdir usr/share/man/man5
install -m644 doc/*.1 ${DESTDIR}/usr/share/man/man1
install -m644 doc/*.5 ${DESTDIR}/usr/share/man/man5
install -m644 -D contrib/bash_completion \
${DESTDIR}/usr/share/bash-completion/completions/hg
install -m644 -D contrib/zsh_completion \
${DESTDIR}/usr/share/zsh/site-functions/_hg
for i in doc/*.1 doc/*.8 doc/*.5 ; do
vman $i
done
vinstall contrib/bash_completion 644 \
usr/share/bash-completion/completions/hg
vinstall contrib/zsh_completion 644 \
usr/share/zsh/site-functions/_hg
}