mirror of
https://github.com/TrentSPalmer/aur-packages.git
synced 2024-11-25 03:51:30 -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
|
pkgbase = deoplete-ternjs-git
|
||||||
pkgdesc = javascript add-on for deoplete completion plugin for neovim
|
pkgdesc = javascript add-on for deoplete completion plugin for neovim
|
||||||
pkgver = r93.185b011
|
pkgver = r93.185b011
|
||||||
pkgrel = 1
|
pkgrel = 2
|
||||||
url = https://github.com/carlitux/deoplete-ternjs
|
url = https://github.com/carlitux/deoplete-ternjs
|
||||||
arch = any
|
arch = any
|
||||||
license = MIT
|
license = MIT
|
||||||
|
@ -11,7 +11,7 @@ _neovim="n"
|
|||||||
_name='deoplete-ternjs'
|
_name='deoplete-ternjs'
|
||||||
pkgname="${_name}-git"
|
pkgname="${_name}-git"
|
||||||
pkgver=r93.185b011
|
pkgver=r93.185b011
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc="javascript add-on for deoplete completion plugin for neovim"
|
pkgdesc="javascript add-on for deoplete completion plugin for neovim"
|
||||||
arch=('any')
|
arch=('any')
|
||||||
url="https://github.com/carlitux/deoplete-ternjs"
|
url="https://github.com/carlitux/deoplete-ternjs"
|
||||||
@ -37,13 +37,13 @@ pkgver() {
|
|||||||
package() {
|
package() {
|
||||||
if [ "$_neovim" = "y" ]; then
|
if [ "$_neovim" = "y" ]; then
|
||||||
mkdir -p "$pkgdir/usr/share/nvim/runtime"
|
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"
|
"$pkgdir/usr/share/nvim/runtime"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$_vim" = "y" ]; then
|
if [ "$_vim" = "y" ]; then
|
||||||
mkdir -p "$pkgdir/usr/share/vim/vimfiles"
|
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"
|
"$pkgdir/usr/share/vim/vimfiles"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user