summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD22
1 files changed, 22 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..973c126bb03
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,22 @@
+pkgname=cmp-nvim-lsp
+pkgver=f93a6cf
+pkgrel=1
+pkgdesc='nvim-cmp source for neovim builtin LSP client'
+arch=('any')
+url=https://github.com/hrsh7th/cmp-nvim-lsp
+license=('')
+groups=('neovim-plugins')
+depends=('neovim' 'neovim-plug' 'lua')
+makedepends=('git')
+source=("git+${url}")
+sha256sums=('SKIP')
+package(){
+ cd "${srcdir}/cmp-nvim-lsp"
+ mkdir -p "${pkgdir}/usr/share/nvim/runtime"
+ cp -a lua "${pkgdir}/usr/share/nvim/runtime/"
+ cp -a after "${pkgdir}/usr/share/nvim/runtime/"
+}
+pkgver(){
+ cd "${srcdir}/cmp-nvim-lsp"
+ git rev-parse --short HEAD
+}