# Maintainer: Rhinoceros pkgname=nvim-r pkgver=0.9.13 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>=2.0: if using vim, necessary for sending commands to R' 'neovim>=0.2.0: either neovim or vim' 'r>=3.0.0: for integration with R' '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=("$pkgname-$pkgver.tar.gz::https://github.com/jalvesaq/Nvim-R/archive/v${pkgver}.tar.gz") sha256sums=('d4d132f2780b3bde8d0bfccb90c165c5beb8c22f44b3a977b0e43acd9f19e867') package() { cd "Nvim-R-${pkgver}" _installpath="${pkgdir}/usr/share/vim/vimfiles" mkdir -p "${_installpath}" cp -r {R,doc,ftdetect,ftplugin,syntax} "${_installpath}" }