void-packages/srcpkgs/mercurial/template

27 lines
695 B
Plaintext

# Template file for 'mercurial'
pkgname=mercurial
version=2.6
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=5da022bd8114c498fbeb249f7f670a1b3e381e57225419b50f941b65444da1c1
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 all
}
}