void-packages/srcpkgs/neovim/template
2018-02-20 01:34:55 -05:00

31 lines
1 KiB
Bash

# Template file for 'neovim'
pkgname=neovim
version=0.2.2
revision=2
build_style=cmake
configure_args="-DENABLE_JEMALLOC=0 -DUSE_BUNDLED_LIBTERMKEY=OFF"
hostmakedepends="pkg-config gperf LuaJIT-devel lua51-lpeg lua51-mpack"
makedepends="libtermkey-devel libuv-devel libvterm-devel msgpack-devel"
short_desc="Fork of Vim aiming to improve user experience, plugins and GUIs"
maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
license="Apache-2.0, GPL-2"
homepage="http://neovim.io"
distfiles="https://github.com/${pkgname}/${pkgname}/archive/v${version}.tar.gz"
checksum=a838ee07cc9a2ef8ade1b31a2a4f2d5e9339e244ade68e64556c1f4b40ccc5ed
do_check() {
# requires downloading stuff from the outside and also adds the following deps
# libtool, automake, curl, unzip
:
}
# XXX: neovim needs host bin to generate helptags at build time.
nocross=yes
alternatives="
vi:vi:/usr/bin/nvim
vi:vi.1:/usr/share/man/man1/nvim.1
vi:view:/usr/bin/nvim
vi:view.1:/usr/share/man/man1/nvim.1
vim:vim:/usr/bin/nvim
vim:vim.1:/usr/share/man/man1/nvim.1"