void-packages/srcpkgs/mercurial/template

25 lines
777 B
Bash

# Template file for 'mercurial'
pkgname=mercurial
version=5.2.2
revision=1
build_style=python3-module
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=ffc5ff47488c7b5dae6ead3d99f08ef469500d6567592a25311838320106c03b
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
}