Merge pull request #2693 from steski/hub
hub: install bash/zsh completions
This commit is contained in:
commit
d20da56502
1 changed files with 5 additions and 2 deletions
|
@ -1,13 +1,13 @@
|
||||||
# Template file for 'hub'
|
# Template file for 'hub'
|
||||||
pkgname=hub
|
pkgname=hub
|
||||||
version=2.2.1
|
version=2.2.1
|
||||||
revision=2
|
revision=3
|
||||||
build_style=go
|
build_style=go
|
||||||
go_import_path="github.com/github/hub"
|
go_import_path="github.com/github/hub"
|
||||||
hostmakedepends="git"
|
hostmakedepends="git"
|
||||||
homepage="http://hub.github.com/"
|
homepage="http://hub.github.com/"
|
||||||
distfiles="https://github.com/github/hub/archive/v${version}.tar.gz"
|
distfiles="https://github.com/github/hub/archive/v${version}.tar.gz"
|
||||||
short_desc="command line tool for Github"
|
short_desc="Command line tool for Github"
|
||||||
maintainer="Enno Boland <gottox@voidlinux.eu>"
|
maintainer="Enno Boland <gottox@voidlinux.eu>"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
checksum=9350aba6a8e3da9d26b7258a4020bf84491af69595f7484f922d75fc8b86dc10
|
checksum=9350aba6a8e3da9d26b7258a4020bf84491af69595f7484f922d75fc8b86dc10
|
||||||
|
@ -15,4 +15,7 @@ checksum=9350aba6a8e3da9d26b7258a4020bf84491af69595f7484f922d75fc8b86dc10
|
||||||
post_install() {
|
post_install() {
|
||||||
vman man/${pkgname}.1
|
vman man/${pkgname}.1
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
|
|
||||||
|
vinstall etc/hub.zsh_completion 644 usr/share/zsh/site-functions _hub
|
||||||
|
vinstall etc/hub.bash_completion.sh 644 usr/share/bash-completion/completions hub
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue