diff options
author | Sainnhe Park | 2023-02-03 09:33:25 +0800 |
---|---|---|
committer | Sainnhe Park | 2023-02-03 09:33:25 +0800 |
commit | c41b808015900f1cd1dd74ef29f4549b3e26f5bc (patch) | |
tree | 14a04a0fe8dd83c4d724027f02b8dc671892abb0 | |
parent | 5aba84da1d68f8d551a92ab5a689e3bffaf69f6f (diff) | |
download | aur-c41b808015900f1cd1dd74ef29f4549b3e26f5bc.tar.gz |
Move nodejs dep to package()
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 7 |
2 files changed, 8 insertions, 4 deletions
@@ -1,14 +1,13 @@ pkgbase = vim-coc pkgdesc = Intellisense engine for Vim8 & Neovim, full language server protocol support as VSCode pkgver = 0.0.82 - pkgrel = 4 + pkgrel = 5 url = https://github.com/neoclide/coc.nvim arch = any license = MIT makedepends = yarn makedepends = nodejs-lts-gallium depends = vim - depends = nodejs optdepends = npm: for installing coc extensions optdepends = yarn: for installing coc extensions optdepends = watchman: for workspace_didChangeWatchedFiles feature @@ -18,3 +17,5 @@ pkgbase = vim-coc sha256sums = 50151f2ccde4b19ff286a7157e5567418b2116581ac9f2e58e8aa7b1a7a058a1 pkgname = vim-coc + depends = vim + depends = nodejs @@ -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 \ |