summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRhinoceros2016-03-25 13:58:23 +1100
committerRhinoceros2016-03-25 13:58:23 +1100
commite0c9ad6b006213b3cd189690daac2966b9c13547 (patch)
tree45984799dcdcec9207d453c61a30275a275d2b66
parentfab7247b4b8d75a1515340af180c3af65894307c (diff)
downloadaur-e0c9ad6b006213b3cd189690daac2966b9c13547.tar.gz
Update to 0.9.3-3
* Add install file (which updates vim help and warns about nvimcom installation)
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD3
-rw-r--r--nvim-r.install15
3 files changed, 20 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 84d72c31197..4d5ccfdd2ac 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index 37592c8585a..816ba6395b9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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 00000000000..6d4fecd3ecf
--- /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'
+}