summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorSainnhe Park2023-02-03 09:33:25 +0800
committerSainnhe Park2023-02-03 09:33:25 +0800
commitc41b808015900f1cd1dd74ef29f4549b3e26f5bc (patch)
tree14a04a0fe8dd83c4d724027f02b8dc671892abb0 /PKGBUILD
parent5aba84da1d68f8d551a92ab5a689e3bffaf69f6f (diff)
downloadaur-c41b808015900f1cd1dd74ef29f4549b3e26f5bc.tar.gz
Move nodejs dep to package()
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD7
1 files changed, 5 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index a867725c6254..bd694df6f68a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,12 +3,12 @@ pkgname=vim-coc
# Coc.nvim creates tags on release branch but the source code is only available on master branch, so I have to use commit hash to specify the version to use.
_hash='7a50d4d9513362aa21cf42646ceca0cb41cb0dbc'
pkgver=0.0.82
-pkgrel=4
+pkgrel=5
pkgdesc='Intellisense engine for Vim8 & Neovim, full language server protocol support as VSCode'
arch=('any')
url='https://github.com/neoclide/coc.nvim'
license=('MIT')
-depends=('vim' 'nodejs')
+depends=('vim')
optdepends=('npm: for installing coc extensions'
'yarn: for installing coc extensions'
'watchman: for workspace_didChangeWatchedFiles feature')
@@ -24,6 +24,9 @@ build() {
}
package() {
+ # Temp fix. Should be moved to depends() in next release
+ depends+=('nodejs')
+
cd "${srcdir}/coc.nvim-${_hash}"
vim -es --cmd ":helptags doc" --cmd ":q"
find autoload build data doc package.json plugin -type f -exec \