diff --git a/srcpkgs/mercurial/template b/srcpkgs/mercurial/template index b6dd7cd102..e2bb4a4acf 100644 --- a/srcpkgs/mercurial/template +++ b/srcpkgs/mercurial/template @@ -1,7 +1,7 @@ # Template file for 'mercurial' pkgname=mercurial version=3.5 -revision=1 +revision=2 lib32disabled=yes build_style=python-module hostmakedepends="python-devel" @@ -20,4 +20,8 @@ post_install() { vmkdir usr/share/man/man5 install -m644 doc/*.1 ${DESTDIR}/usr/share/man/man1 install -m644 doc/*.5 ${DESTDIR}/usr/share/man/man5 + install -m644 -D contrib/bash_completion \ + ${DESTDIR}/usr/share/bash-completion/completions/hg + install -m644 -D contrib/zsh_completion \ + ${DESTDIR}/usr/share/zsh/site-functions/_hg }