deoplete-ternjs-git fix PKGBUILD to install new autoload directory

This commit is contained in:
Trent Palmer 2019-01-08 14:36:46 -08:00
parent 07712d0000
commit 62f3273ae3
2 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,7 @@
pkgbase = deoplete-ternjs-git
pkgdesc = javascript add-on for deoplete completion plugin for neovim
pkgver = r93.185b011
pkgrel = 1
pkgrel = 2
url = https://github.com/carlitux/deoplete-ternjs
arch = any
license = MIT

View File

@ -11,7 +11,7 @@ _neovim="n"
_name='deoplete-ternjs'
pkgname="${_name}-git"
pkgver=r93.185b011
pkgrel=1
pkgrel=2
pkgdesc="javascript add-on for deoplete completion plugin for neovim"
arch=('any')
url="https://github.com/carlitux/deoplete-ternjs"
@ -37,13 +37,13 @@ pkgver() {
package() {
if [ "$_neovim" = "y" ]; then
mkdir -p "$pkgdir/usr/share/nvim/runtime"
cp -r "${srcdir}/${_name}/"{plugin,rplugin} \
cp -r "${srcdir}/${_name}/"{plugin,rplugin,autoload} \
"$pkgdir/usr/share/nvim/runtime"
fi
if [ "$_vim" = "y" ]; then
mkdir -p "$pkgdir/usr/share/vim/vimfiles"
cp -r "${srcdir}/${_name}/"{plugin,rplugin} \
cp -r "${srcdir}/${_name}/"{plugin,rplugin,autoload} \
"$pkgdir/usr/share/vim/vimfiles"
fi