mercurial: add zsh/bash-completion

This commit is contained in:
Alexander Mamay 2015-08-08 21:40:44 +06:00
parent c043aaca71
commit 470ccbbb59
1 changed files with 5 additions and 1 deletions

View File

@ -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
}