mercurial: add zsh/bash-completion
This commit is contained in:
parent
c043aaca71
commit
470ccbbb59
1 changed files with 5 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'mercurial'
|
# Template file for 'mercurial'
|
||||||
pkgname=mercurial
|
pkgname=mercurial
|
||||||
version=3.5
|
version=3.5
|
||||||
revision=1
|
revision=2
|
||||||
lib32disabled=yes
|
lib32disabled=yes
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
hostmakedepends="python-devel"
|
hostmakedepends="python-devel"
|
||||||
|
@ -20,4 +20,8 @@ post_install() {
|
||||||
vmkdir usr/share/man/man5
|
vmkdir usr/share/man/man5
|
||||||
install -m644 doc/*.1 ${DESTDIR}/usr/share/man/man1
|
install -m644 doc/*.1 ${DESTDIR}/usr/share/man/man1
|
||||||
install -m644 doc/*.5 ${DESTDIR}/usr/share/man/man5
|
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…
Add table
Add a link
Reference in a new issue