mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-12-16 20:00:50 +01:00
meta: Don't install vim plug globally
Since my .vimrc already installs the same version of vim plug, and since any user can symlink my dotfiles, using a PKGBUILD to install it is redundant and arguably less portable.
This commit is contained in:
parent
5fa02b42be
commit
e627c60540
12
.archlinux/PKGBUILDs/tari-dev/PKGBUILD
vendored
12
.archlinux/PKGBUILDs/tari-dev/PKGBUILD
vendored
@ -1,9 +1,8 @@
|
|||||||
_vimplugver='0.10.0'
|
|
||||||
_httpiever='1.0.0'
|
_httpiever='1.0.0'
|
||||||
|
|
||||||
pkgname=tari-dev
|
pkgname=tari-dev
|
||||||
pkgver=0.1.1
|
pkgver=0.2.0
|
||||||
pkgrel=2
|
pkgrel=1
|
||||||
pkgdesc="Packages I use relating to development and other things."
|
pkgdesc="Packages I use relating to development and other things."
|
||||||
arch=('any')
|
arch=('any')
|
||||||
depends=(vim
|
depends=(vim
|
||||||
@ -35,12 +34,9 @@ depends=(vim
|
|||||||
texlive-latexextra
|
texlive-latexextra
|
||||||
texlive-bibtexextra
|
texlive-bibtexextra
|
||||||
minted)
|
minted)
|
||||||
source=("https://raw.githubusercontent.com/junegunn/vim-plug/${_vimplugver}/plug.vim"
|
source=("https://raw.githubusercontent.com/jakubroztocil/httpie/${_httpiever}/extras/httpie-completion.fish")
|
||||||
"https://raw.githubusercontent.com/jakubroztocil/httpie/${_httpiever}/extras/httpie-completion.fish")
|
sha256sums=('3d0deae85526fbb580ec35a625a043fd1c585c315ca98ac4e371b714d2d1a3ec')
|
||||||
sha256sums=('01a138fc0ed99ef2678ba004613acbf8b0c51a85a8d2a1b658ef87af722e98e1'
|
|
||||||
'3d0deae85526fbb580ec35a625a043fd1c585c315ca98ac4e371b714d2d1a3ec')
|
|
||||||
|
|
||||||
package() {
|
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
|
install -Dm 644 httpie-completion.fish "$pkgdir"/usr/share/fish/vendor_completions.d/http.fish
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user