27 lines
914 B
Bash
27 lines
914 B
Bash
# Template file for 'mercurial'
|
|
pkgname=mercurial
|
|
version=3.8.4
|
|
revision=1
|
|
build_style=python-module
|
|
hostmakedepends="python-devel"
|
|
makedepends="python-devel"
|
|
depends="ca-certificates"
|
|
pycompile_module="mercurial hgext hgext3rd"
|
|
short_desc="Fast, lightweight source control management system"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
license="GPL-2"
|
|
homepage="https://www.mercurial-scm.org/"
|
|
distfiles="https://www.mercurial-scm.org/release/mercurial-${version}.tar.gz"
|
|
checksum=4b2e3ef19d34fa1d781cb7425506a05d4b6b1172bab69d6ea78874175fdf3da6
|
|
|
|
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
|
|
}
|