void-packages/srcpkgs/mercurial/template
Nathan Owens 0ea1b9cf0d mercurial: update to 5.2.1
Signed-off-by: Nathan Owens <ndowens04@gmail.com>
2019-12-13 11:17:25 +01:00

25 lines
836 B
Bash

# Template file for 'mercurial'
pkgname=mercurial
version=5.2.1
revision=1
build_style=python3-module
pycompile_module="hgdemandimport hgext hgext3rd mercurial"
hostmakedepends="python3 python3-setuptools python3-devel"
makedepends="python3-devel"
depends="ca-certificates"
short_desc="Fast, lightweight source control management system"
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=18b1550abf9872a6905eb67527bc73e13f2a448830cca9be883528b0ce68b3df
post_install() {
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
}