diff options
author | Sainnhe Park | 2023-02-03 09:33:04 +0800 |
---|---|---|
committer | Sainnhe Park | 2023-02-03 09:33:04 +0800 |
commit | 144aa4c0c5d078c87dce6eb58fec3087854aec78 (patch) | |
tree | 53ba1be172e8faf32cd66f9a2aa975610e0da48b | |
parent | 866166d19d42e201ce6ef4a7a88fc3604de9a90e (diff) | |
download | aur-144aa4c0c5d078c87dce6eb58fec3087854aec78.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 = neovim-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 = neovim - 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 = neovim-coc sha256sums = 50151f2ccde4b19ff286a7157e5567418b2116581ac9f2e58e8aa7b1a7a058a1 pkgname = neovim-coc + depends = neovim + depends = nodejs @@ -3,12 +3,12 @@ pkgname=neovim-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=('neovim' 'nodejs') +depends=('neovim') 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}" nvim -es --cmd ":helptags doc" --cmd ":q" find autoload build data doc package.json plugin -type f -exec \ |