tari-dev: Add fish completions for httpie

Since the community package doesn't include the fish completions found
upstream, we install them here instead. There is already a bug report
about the fish completions, and when it eventually gets fixed, these
steps can be removed from the PKGBUILD.

Bug report: https://bugs.archlinux.org/task/55786
This commit is contained in:
Donovan Glover 2018-11-14 14:14:42 -05:00
parent 7445de60ca
commit ad3a3fedd3
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -1,7 +1,8 @@
_vimplugver='0.10.0'
_httpiever='1.0.0'
pkgname=tari-dev
pkgver=0.1.0
pkgver=0.1.1
pkgrel=1
pkgdesc="Packages I use relating to development and other things."
arch=('any')
@ -13,9 +14,12 @@ depends=(vim neovim httpie exa fd ripgrep
jdk-openjdk texlive-core texlive-science
texlive-humanities texlive-fontsextra texlive-latexextra
texlive-bibtexextra minted)
source=("https://raw.githubusercontent.com/junegunn/vim-plug/${_vimplugver}/plug.vim")
sha256sums=('01a138fc0ed99ef2678ba004613acbf8b0c51a85a8d2a1b658ef87af722e98e1')
source=("https://raw.githubusercontent.com/junegunn/vim-plug/${_vimplugver}/plug.vim"
"https://raw.githubusercontent.com/jakubroztocil/httpie/${_httpiever}/extras/httpie-completion.fish")
sha256sums=('01a138fc0ed99ef2678ba004613acbf8b0c51a85a8d2a1b658ef87af722e98e1'
'3d0deae85526fbb580ec35a625a043fd1c585c315ca98ac4e371b714d2d1a3ec')
package() {
install -Dm 644 plug.vim "$pkgdir"/usr/share/vim/vimfiles/autoload/plug.vim
install -Dm 644 plug.vim "$pkgdir"/usr/share/vim/vimfiles/autoload/plug.vim
install -Dm 644 httpie-completion.fish "$pkgdir"/usr/share/fish/vendor_completions.d/http.fish
}