diff options
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 3 | ||||
-rw-r--r-- | nvim-r.install | 15 |
3 files changed, 20 insertions, 3 deletions
@@ -1,10 +1,11 @@ # Generated by mksrcinfo v8 -# Fri Mar 25 01:34:56 UTC 2016 +# Fri Mar 25 02:57:39 UTC 2016 pkgbase = nvim-r pkgdesc = Vim plugin to work with R pkgver = 0.9.3 - pkgrel = 2 + pkgrel = 3 url = https://github.com/jalvesaq/nvim-r + install = nvim-r.install arch = any license = GPL2 optdepends = vim>=7.4.1579: either vim or neovim @@ -2,7 +2,7 @@ pkgname=nvim-r pkgver=0.9.3 -pkgrel=2 +pkgrel=3 pkgdesc="Vim plugin to work with R" arch=('any') url="https://github.com/jalvesaq/${pkgname}" @@ -14,6 +14,7 @@ optdepends=('vim>=7.4.1579: either vim or neovim' 'vim-csv: inspect data.frames and matrices') conflicts=('vim-r' 'r-vimcom') replaces=('vim-r') +install='nvim-r.install' source=("https://github.com/jalvesaq/Nvim-R/releases/download/v${pkgver}/Nvim-R.vmb") sha256sums=('336acec73a4aede96cfc2974d7c7e95bccf8611208f7d9fac341cf3fa056b2cd') diff --git a/nvim-r.install b/nvim-r.install new file mode 100644 index 000000000000..6d4fecd3ecf4 --- /dev/null +++ b/nvim-r.install @@ -0,0 +1,15 @@ +post_install() { + echo -n 'Updating vim help tags...' + /usr/bin/vim --noplugins -u NONE -U NONE \ + --cmd ":helptags /usr/share/vim/vimfiles/doc" --cmd ":q" > /dev/null 2>&1 + echo 'done.' +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install + echo 'You may also want to delete ~/R/*/*/nvimcom' +} |