summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorzhanghua0002021-10-13 12:44:58 +0800
committerzhanghua0002021-10-13 12:44:58 +0800
commit635b0d63585c92f40aa82ced61c0474b5143b96c (patch)
tree058d3b3e68379af0b22819379074dab9f3e32e20 /PKGBUILD
downloadaur-635b0d63585c92f40aa82ced61c0474b5143b96c.tar.gz
First release
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
+}