# Template file for 'mercurial'
pkgname=mercurial
version=3.1.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@gmail.com>"
license="GPL-2"
homepage="http://mercurial.selenic.com"
distfiles="${homepage}/release/${pkgname}-${version}.tar.gz"
checksum=5dbe5ceb3707e378528dc9346af280919760aa1a8bcc27be12c1fe2bafa78d3a

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
}
