mirror of
https://github.com/TrentSPalmer/aur-packages.git
synced 2024-12-22 12:32:49 -08:00
added nvim-yarp-git so deoplete will work with vim
This commit is contained in:
parent
0ea2789d8d
commit
37a402707e
17
nvim-yarp-git/.SRCINFO
Normal file
17
nvim-yarp-git/.SRCINFO
Normal file
@ -0,0 +1,17 @@
|
||||
pkgbase = nvim-yarp-git
|
||||
pkgdesc = (an) attempt (at) writing a remote plugin framework without :UpdateRemotePlugins.
|
||||
pkgver = r29.b222af8
|
||||
pkgrel = 1
|
||||
url = https://github.com/roxma/nvim-yarp
|
||||
install = nvim-yarp.install
|
||||
arch = any
|
||||
license = unknown
|
||||
makedepends = git
|
||||
depends = vim
|
||||
depends = python-neovim
|
||||
provides = nvim-yarp
|
||||
source = nvim-yarp::git://github.com/roxma/nvim-yarp
|
||||
md5sums = SKIP
|
||||
|
||||
pkgname = nvim-yarp-git
|
||||
|
35
nvim-yarp-git/PKGBUILD
Normal file
35
nvim-yarp-git/PKGBUILD
Normal file
@ -0,0 +1,35 @@
|
||||
# Maintainer: Trent Palmer trenttdually at gmail
|
||||
_name='nvim-yarp'
|
||||
pkgname="${_name}-git"
|
||||
pkgver=r29.b222af8
|
||||
pkgrel=1
|
||||
pkgdesc="(an) attempt (at) writing a remote plugin framework without :UpdateRemotePlugins."
|
||||
arch=('any')
|
||||
url="https://github.com/roxma/nvim-yarp"
|
||||
license=('unknown')
|
||||
groups=()
|
||||
depends=('vim' 'python-neovim')
|
||||
makedepends=('git')
|
||||
provides=('nvim-yarp')
|
||||
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
nvim-yarp-git/nvim-yarp.install
Normal file
18
nvim-yarp-git/nvim-yarp.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