blob: fa1603419dfd1aa1b33a14ddb6dd1a1278af25e6 (
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# Maintainer: Kevin Del Castillo R. <lans9831@gmail.com>
_pkgname=neovim
pkgname=neovim-nightly
epoch=1
pkgver=0.4.0+20190601
pkgrel=1
pkgdesc='Fork of Vim aiming to improve user experience, plugins, and GUIs - Nightly Builds'
arch=('x86_64')
url='https://neovim.io'
license=('custom:neovim')
provides=("$_pkgname")
conflicts=("$_pkgname")
optdepends=('python2-neovim: for Python 2 plugin support, see :help python'
'python-neovim: for Python 3 plugin support, see :help python'
'xclip: for clipboard support, see :help clipboard'
'xsel: for clipboard support, see :help clipboard')
source=('https://github.com/neovim/neovim/releases/download/nightly/nvim-linux64.tar.gz')
sha512sums=(SKIP)
install=neovim.install
check() {
cd "${srcdir}/nvim-linux64"
./bin/nvim --version
./bin/nvim --headless -u NONE -i NONE -c ':quit'
}
package() {
cd "${srcdir}/nvim-linux64"
mkdir -p "${pkgdir}/usr/bin"
cp -r share "${pkgdir}/usr/"
install bin/nvim "${pkgdir}/usr/bin"
# Make Arch vim packages work
mkdir -p "${pkgdir}"/usr/share/vim
echo "set runtimepath+=/usr/share/vim/vimfiles" > "${pkgdir}"/usr/share/nvim/sysinit.vim
# Remove nvim-linux64.tar.gz if it still exists, who knows?
rm -f ../nvim-linux64.tar.gz || true
rm -f ../../nvim-linux64.tar.gz || true
}
# vim:set sw=2 sts=2 et:
|