mirror of
https://github.com/TrentSPalmer/aur-packages.git
synced 2024-11-24 03:51:29 -08:00
add vim-hug-neovim-rpc-git so deoplete will work with vim
This commit is contained in:
parent
2138e4825b
commit
0ea2789d8d
18
vim-hug-neovim-rpc-git/.SRCINFO
Normal file
18
vim-hug-neovim-rpc-git/.SRCINFO
Normal file
@ -0,0 +1,18 @@
|
||||
pkgbase = vim-hug-neovim-rpc-git
|
||||
pkgdesc = trying to build a compatibility layer for neovim rpc client working on vim8
|
||||
pkgver = r81.e8af9b2
|
||||
pkgrel = 1
|
||||
url = https://github.com/roxma/vim-hug-neovim-rpc
|
||||
install = vim-hug-neovim-rpc.install
|
||||
arch = any
|
||||
license = unknown
|
||||
makedepends = git
|
||||
depends = vim
|
||||
depends = python-neovim
|
||||
optdepends = nvim-yarp
|
||||
provides = vim-hug-neovim-rpc
|
||||
source = vim-hug-neovim-rpc::git://github.com/roxma/vim-hug-neovim-rpc
|
||||
md5sums = SKIP
|
||||
|
||||
pkgname = vim-hug-neovim-rpc-git
|
||||
|
36
vim-hug-neovim-rpc-git/PKGBUILD
Normal file
36
vim-hug-neovim-rpc-git/PKGBUILD
Normal file
@ -0,0 +1,36 @@
|
||||
# Maintainer: Trent Palmer trenttdually at gmail
|
||||
_name='vim-hug-neovim-rpc'
|
||||
pkgname="${_name}-git"
|
||||
pkgver=r81.e8af9b2
|
||||
pkgrel=1
|
||||
pkgdesc="trying to build a compatibility layer for neovim rpc client working on vim8"
|
||||
arch=('any')
|
||||
url="https://github.com/roxma/vim-hug-neovim-rpc"
|
||||
license=('unknown')
|
||||
groups=()
|
||||
depends=('vim' 'python-neovim')
|
||||
optdepends=('nvim-yarp')
|
||||
makedepends=('git')
|
||||
provides=('vim-hug-neovim-rpc')
|
||||
conflicts=()
|
||||
replaces=('')
|
||||
backup=()
|
||||
options=()
|
||||
# maybe at some point there will be helptags to update
|
||||
install="${_name}.install"
|
||||
source=("${_name}::${url//https/git}")
|
||||
noextract=()
|
||||
md5sums=('SKIP')
|
||||
|
||||
pkgver() {
|
||||
cd "${srcdir}/${_name}"
|
||||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
||||
}
|
||||
|
||||
package() {
|
||||
mkdir -p "$pkgdir/usr/share/vim/vimfiles"
|
||||
cp -r "${srcdir}/${_name}/"{autoload,pythonx} \
|
||||
"$pkgdir/usr/share/vim/vimfiles"
|
||||
|
||||
install -D -m644 "${srcdir}/${_name}/README.md" $pkgdir/usr/share/doc/$pkgname/README.md
|
||||
}
|
18
vim-hug-neovim-rpc-git/vim-hug-neovim-rpc.install
Normal file
18
vim-hug-neovim-rpc-git/vim-hug-neovim-rpc.install
Normal file
@ -0,0 +1,18 @@
|
||||
update_vim_help() {
|
||||
echo -n "Updating Vim help tags..."
|
||||
/usr/bin/vim --noplugin -u NONE -U NONE \
|
||||
--cmd ":helptags /usr/share/vim/vimfiles/doc" --cmd ":q" > /dev/null 2>&1
|
||||
echo "done."
|
||||
}
|
||||
|
||||
post_install() {
|
||||
update_vim_help
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
update_vim_help "$1"
|
||||
}
|
||||
|
||||
post_remove() {
|
||||
update_vim_help
|
||||
}
|
Loading…
Reference in New Issue
Block a user