26 lines
942 B
Bash
26 lines
942 B
Bash
# Template file for 'mercurial'
|
|
pkgname=mercurial
|
|
version=5.0.1
|
|
revision=1
|
|
build_style=python2-module
|
|
pycompile_module="hgdemandimport hgext hgext3rd mercurial"
|
|
hostmakedepends="python-devel"
|
|
makedepends="python-devel"
|
|
depends="ca-certificates"
|
|
short_desc="Fast, lightweight source control management system"
|
|
maintainer="Juan RP <xtraeme@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=4c98a8e4cd5595feaa5ef7385ee2ac6b78bb4599353d3851c0823bd5543e62ce
|
|
|
|
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
|
|
}
|