void-packages/srcpkgs/mercurial/template

26 lines
697 B
Text

# Template file for 'mercurial'
pkgname=mercurial
version=2.5.2
revision=1
build_style=python-module
makedepends="python-devel"
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=cf6d4a7bb70d6b7318905ad7e4db8a2b42be26556b28c82f9bd960299ddad34e
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
}
mercurial_package() {
pycompile_module="mercurial hgext"
pkg_install() {
vmove usr
}
}