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 /PKGBUILD | |
parent | 5aba84da1d68f8d551a92ab5a689e3bffaf69f6f (diff) | |
download | aur-c41b808015900f1cd1dd74ef29f4549b3e26f5bc.tar.gz |
Move nodejs dep to package()
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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 \ |