summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorzhanghua0002021-10-13 12:44:58 +0800
committerzhanghua0002021-10-13 12:44:58 +0800
commit635b0d63585c92f40aa82ced61c0474b5143b96c (patch)
tree058d3b3e68379af0b22819379074dab9f3e32e20
downloadaur-635b0d63585c92f40aa82ced61c0474b5143b96c.tar.gz
First release
-rw-r--r--.SRCINFO16
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD22
3 files changed, 42 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..272b10a77e8
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = cmp-nvim-lsp
+ pkgdesc = nvim-cmp source for neovim builtin LSP client
+ pkgver = f93a6cf
+ pkgrel = 1
+ url = https://github.com/hrsh7th/cmp-nvim-lsp
+ arch = any
+ groups = neovim-plugins
+ license =
+ makedepends = git
+ depends = neovim
+ depends = neovim-plug
+ depends = lua
+ source = git+https://github.com/hrsh7th/cmp-nvim-lsp
+ sha256sums = SKIP
+
+pkgname = cmp-nvim-lsp
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..94e75294d7b
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+pkg
+src
+*.pkg.tar.zst
+cmp-nvim-lsp
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
+}