27 lines
904 B
Bash
27 lines
904 B
Bash
# Template file for 'mercurial'
|
|
pkgname=mercurial
|
|
version=3.6.2
|
|
revision=1
|
|
lib32disabled=yes
|
|
build_style=python-module
|
|
hostmakedepends="python-devel"
|
|
makedepends="python-devel"
|
|
depends="ca-certificates"
|
|
pycompile_module="mercurial hgext"
|
|
short_desc="Fast, lightweight source control management system"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
license="GPL-2"
|
|
homepage="http://mercurial.selenic.com"
|
|
distfiles="${homepage}/release/${pkgname}-${version}.tar.gz"
|
|
checksum=09c567049c3e30f791db0cf5937346c7ff3568deadf4eb1d4e2f7c80001cb3d6
|
|
|
|
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
|
|
}
|