blob: 6caaa38e6ce2c613412c60727d45eb6c2bd484ea (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# Maintainer: Rhinoceros <https://aur.archlinux.org/account/rhinoceros>
pkgname=nvim-r
pkgver=0.9.7
pkgrel=1
pkgdesc="Vim plugin to work with R"
arch=('any')
url="https://github.com/jalvesaq/${pkgname}"
license=('GPL2')
optdepends=('vim>=8.0.0: either vim or neovim'
'tmux: if using vim, necessary for sending commands to R'
'neovim>=0.1.5: either neovim or vim'
'pandoc: render output from markup files'
'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/archive/v${pkgver}.tar.gz")
sha256sums=('227b7a162deec3c4a4535a5183e2b73df6f0f2291c75873d2062c46267a4c459')
package() {
cd "Nvim-R-${pkgver}"
_installpath="${pkgdir}/usr/share/vim/vimfiles"
mkdir -p "${_installpath}"
cp -r {R,doc,ftdetect,ftplugin,syntax} "${_installpath}"
}
|