void-packages/srcpkgs/mercurial/template

27 lines
697 B
Text
Raw Normal View History

# Template file for 'mercurial'
pkgname=mercurial
2013-03-07 15:20:07 +00:00
version=2.5.2
2012-07-02 18:20:37 +00:00
revision=1
build_style=python-module
makedepends="python-devel"
short_desc="Fast, lightweight source control management system"
maintainer="Juan RP <xtraeme@gmail.com>"
2011-06-04 12:44:23 +00:00
license="GPL-2"
2012-07-02 18:20:37 +00:00
homepage="http://mercurial.selenic.com"
2012-09-04 13:39:30 +00:00
distfiles="${homepage}/release/${pkgname}-${version}.tar.gz"
2013-03-07 15:20:07 +00:00
checksum=cf6d4a7bb70d6b7318905ad7e4db8a2b42be26556b28c82f9bd960299ddad34e
2012-01-10 08:48:11 +00:00
post_install() {
2012-02-28 22:57:16 +00:00
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
}
}