31 lines
761 B
Plaintext
31 lines
761 B
Plaintext
# Template file for 'mercurial'
|
|
pkgname=mercurial
|
|
version=2.6.1
|
|
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=b6413aa339fd91a86288df7cf4f9db9bf3443b1ff55e8118530fdb9e8c788e64
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
hostmakedepends="python-devel"
|
|
fi
|
|
|
|
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
|
|
}
|
|
}
|