summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSainnhepark2020-07-27 12:35:36 +0800
committerSainnhepark2020-07-27 12:35:36 +0800
commitefb6b581dbc08a9fe6f0871063b0ef259abd41c5 (patch)
treec222fda2ef21bdb5b6dc3136117100fa2adab801
parent8e7a2397b586bea6d0f9f2710366a4633df9e8a1 (diff)
downloadaur-efb6b581dbc08a9fe6f0871063b0ef259abd41c5.tar.gz
rtp in neovim
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
-rw-r--r--coc-neovim-doc.hook4
3 files changed, 5 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a52bc097b64..db85a152645 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -15,7 +15,7 @@ pkgbase = neovim-coc-git
source = git+https://github.com/neoclide/coc.nvim.git#branch=release
source = coc-neovim-doc.hook
sha256sums = SKIP
- sha256sums = 70cd7d959ea6ca973bd761b6deab922bfa34dd725aab636a0bbc5fbfd60cabaa
+ sha256sums = 2e4d498a34a920452764dffb728cd65526bff7bfbda8599f4de5b5ff427d8d5b
pkgname = neovim-coc-git
diff --git a/PKGBUILD b/PKGBUILD
index 4ff119f7499..3d83a84fd98 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -14,7 +14,7 @@ conflicts=('neovim-coc')
source=('git+https://github.com/neoclide/coc.nvim.git#branch=release'
'coc-neovim-doc.hook')
sha256sums=('SKIP'
- '70cd7d959ea6ca973bd761b6deab922bfa34dd725aab636a0bbc5fbfd60cabaa')
+ '2e4d498a34a920452764dffb728cd65526bff7bfbda8599f4de5b5ff427d8d5b')
pkgver() {
cd "${srcdir}/coc.nvim"
@@ -29,7 +29,7 @@ build() {
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/pack/coc/start/coc.nvim/{}" \;
+ install -Dm 644 '{}' "${pkgdir}/usr/local/share/nvim/site/pack/coc/start/coc.nvim/{}" \;
install -Dm 644 "${srcdir}/coc.nvim/LICENSE.md" \
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.md"
install -Dm 644 "${srcdir}"/coc-neovim-doc.hook "${pkgdir}"/usr/share/libalpm/hooks/coc-neovim-doc.hook
diff --git a/coc-neovim-doc.hook b/coc-neovim-doc.hook
index 8351ddd27b3..70188dd7977 100644
--- a/coc-neovim-doc.hook
+++ b/coc-neovim-doc.hook
@@ -3,9 +3,9 @@ Operation = Install
Operation = Upgrade
Operation= Remove
Type = Path
-Target = usr/share/nvim/runtime/pack/coc/start/coc.nvim/doc/
+Target = usr/local/share/nvim/site/pack/coc/start/coc.nvim/doc/
[Action]
Description = Updating Vim help tags...
-Exec = /usr/bin/nvim -es --cmd ":helptags /usr/share/nvim/runtime/pack/coc/start/coc.nvim/doc" --cmd ":q"
+Exec = /usr/bin/nvim -es --cmd ":helptags /usr/local/share/nvim/site/pack/coc/start/coc.nvim/doc" --cmd ":q"
When = PostTransaction