summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSainnhepark2020-07-26 13:18:10 +0800
committerSainnhepark2020-07-26 13:18:10 +0800
commit3959150e55036e2d1839cc4ac66bb3c88eb227f5 (patch)
tree355e691711d2a4e1fc08626913521b922d1ad40a
parentd0735957078d3fccc249715f8866727e02389dba (diff)
downloadaur-3959150e55036e2d1839cc4ac66bb3c88eb227f5.tar.gz
add optdepends
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD1
2 files changed, 3 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 535e97b30d7..98e72febe7c 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -8,6 +8,8 @@ pkgbase = neovim-coc-git
makedepends = git
depends = neovim
depends = nodejs
+ optdepends = npm: for installing coc extensions
+ optdepends = yarn: for installing coc extensions
provides = neovim-coc
conflicts = neovim-coc
source = git+https://github.com/neoclide/coc.nvim.git#branch=release
diff --git a/PKGBUILD b/PKGBUILD
index c79f46f429e..dae6b6d6200 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,6 +6,7 @@ arch=('any')
url='https://github.com/neoclide/coc.nvim'
license=('MIT')
depends=('neovim' 'nodejs')
+optdepends=('npm: for installing coc extensions' 'yarn: for installing coc extensions')
makedepends=('git')
provides=('neovim-coc')
conflicts=('neovim-coc')