summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSainnhepark2020-07-26 12:27:33 +0800
committerSainnhepark2020-07-26 12:27:33 +0800
commitd0735957078d3fccc249715f8866727e02389dba (patch)
tree1531998921d0b292d071a6a0a49ffb1ac533a6bd
downloadaur-d0735957078d3fccc249715f8866727e02389dba.tar.gz
init
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD26
2 files changed, 43 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..535e97b30d7
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = neovim-coc-git
+ pkgdesc = Intellisense engine for Vim8 & Neovim, full language server protocol support as VSCode
+ pkgver = r514.140321e6
+ pkgrel = 1
+ url = https://github.com/neoclide/coc.nvim
+ arch = any
+ license = MIT
+ makedepends = git
+ depends = neovim
+ depends = nodejs
+ provides = neovim-coc
+ conflicts = neovim-coc
+ source = git+https://github.com/neoclide/coc.nvim.git#branch=release
+ sha256sums = SKIP
+
+pkgname = neovim-coc-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..c79f46f429e
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,26 @@
+pkgname=neovim-coc-git
+pkgver=r514.140321e6
+pkgrel=1
+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=('neovim' 'nodejs')
+makedepends=('git')
+provides=('neovim-coc')
+conflicts=('neovim-coc')
+source=('git+https://github.com/neoclide/coc.nvim.git#branch=release')
+sha256sums=('SKIP')
+
+pkgver() {
+ cd "${srcdir}/coc.nvim"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+package() {
+ cd "${srcdir}/coc.nvim"
+ find autoload bin build data doc package.json plugin -type f -exec \
+ install -Dm 644 '{}' "${pkgdir}/usr/share/nvim/runtime/{}" \;
+ install -Dm 644 "${srcdir}/coc.nvim/LICENSE.md" \
+ "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.md"
+}