nix-config/.archlinux/PKGBUILDs/tari-dev/PKGBUILD
Donovan Glover ad3a3fedd3
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
2018-11-14 14:23:07 -05:00

26 lines
1.2 KiB
Bash
Vendored

_vimplugver='0.10.0'
_httpiever='1.0.0'
pkgname=tari-dev
pkgver=0.1.1
pkgrel=1
pkgdesc="Packages I use relating to development and other things."
arch=('any')
depends=(vim neovim httpie exa fd ripgrep
fzf jq rsync git tig diff-so-fancy
tmux openssh nodejs npm yarn crystal
shards llvm rustup ansible docker docker-compose
bind-tools pacman-contrib nginx-mainline
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"
"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 httpie-completion.fish "$pkgdir"/usr/share/fish/vendor_completions.d/http.fish
}