# Maintainer: canony # Contributor: Sven-Hendrik Haase # Contributor: Florian Walch # Contributor: Florian Hahn pkgname=neovim-bin pkgver=0.6.0 pkgrel=2 pkgdesc='Fork of Vim aiming to improve user experience, plugins, and GUIs' arch=('x86_64') url='https://neovim.io' license=('custom:neovim') provides=('neovim' 'neovim-runtime') depends=('libluajit-5.1-2' 'libluajit-5.1-common' 'libmsgpackc2' 'libtermkey1' 'libunibilium4' 'libvterm0' 'lua-luv') optdepends=('python-neovim: for Python 3 plugin support (see :help python)' 'xclip: for clipboard support on X11 (or xsel) (see :help clipboard)' 'xsel: for clipboard support on X11 (or xclip) (see :help clipboard)' 'wl-clipboard: for clipboard support on wayland (see :help clipboard)') conflicts=('neovim' 'neovim-git') source=("https://github.com/neovim/neovim/releases/download/v${pkgver}/nvim-linux64.tar.gz") sha256sums=('9a7f72e25747c3839f2c8978ef4f902aada0c60ad4b5ff0cb8b9d4c1f0b35586') prepare() { tar xvf nvim-linux64.tar.gz } package() { cd "${srcdir}/nvim-linux64" echo "Coppying application binary" install -Dm 755 bin/nvim -t ${pkgdir}/usr/bin/ echo "Coppying libraries" install -Dm 644 lib/nvim/parser/c.so -t ${pkgdir}/usr/lib/nvim/parser/ echo "Copying application files" mkdir -p ${pkgdir}/usr/share/ cp -r share/applications ${pkgdir}/usr/share/applications cp -r share/icons ${pkgdir}/usr/share/icons cp -r share/locale ${pkgdir}/usr/share/locale cp -r share/man ${pkgdir}/usr/share/man cp -r share/nvim ${pkgdir}/usr/share/nvim } # vim:set sw=2 sts=2 et: