mirror of
https://github.com/TrentSPalmer/aur-packages.git
synced 2024-12-22 04:32:48 -08:00
deoplete-ternjs-git fix PKGBUILD to install new autoload directory
This commit is contained in:
parent
07712d0000
commit
62f3273ae3
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user