mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-09 08:33:51 +02:00
hub: add vim config files
This commit is contained in:
parent
64c1a8b119
commit
062ac23009
1 changed files with 7 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'hub'
|
# Template file for 'hub'
|
||||||
pkgname=hub
|
pkgname=hub
|
||||||
version=2.14.2
|
version=2.14.2
|
||||||
revision=1
|
revision=2
|
||||||
build_style=go
|
build_style=go
|
||||||
go_import_path=github.com/github/hub
|
go_import_path=github.com/github/hub
|
||||||
hostmakedepends="git groff"
|
hostmakedepends="git groff"
|
||||||
|
@ -47,4 +47,10 @@ post_install() {
|
||||||
vinstall etc/hub.zsh_completion 644 usr/share/zsh/site-functions _hub
|
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
|
vinstall etc/hub.bash_completion.sh 644 usr/share/bash-completion/completions hub
|
||||||
vinstall etc/hub.fish_completion 644 usr/share/fish/vendor_completions.d hub.fish
|
vinstall etc/hub.fish_completion 644 usr/share/fish/vendor_completions.d hub.fish
|
||||||
|
for i in share/vim/vimfiles/*/pullrequest.vim; do
|
||||||
|
dir="${i%/*}"
|
||||||
|
vinstall "$i" 644 "usr/$dir"
|
||||||
|
vmkdir "usr/${dir/vim/nvim}"
|
||||||
|
ln -sr "$DESTDIR/usr/${i}" "$DESTDIR/usr/${i/vim/nvim}"
|
||||||
|
done
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue