mercurial: add zsh/bash-completion
This commit is contained in:
parent
c043aaca71
commit
470ccbbb59
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue