void-packages/srcpkgs/neovim/template
Daniel Eyßer 443ab1eda7 neovim: update to 0.4.3.
Closes: #16182 [via git-merge-pr]
2019-11-07 14:59:35 +01:00

33 lines
984 B
Bash

# Template file for 'neovim'
pkgname=neovim
version=0.4.3
revision=1
build_style=cmake
build_helper="qemu"
hostmakedepends="pkg-config gperf LuaJIT lua51-lpeg lua51-mpack"
makedepends="libtermkey-devel libuv-devel libvterm-devel msgpack-devel LuaJIT-devel
libluv-devel"
depends="libvterm>=0.1.0"
short_desc="Fork of Vim aiming to improve user experience, plugins and GUIs"
maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
license="Apache-2.0, custom:Vim"
homepage="https://neovim.io"
distfiles="https://github.com/neovim/neovim/archive/v${version}.tar.gz"
checksum=91a0b5d32204a821bf414690e6b48cf69224d1961d37158c2b383f6a6cf854d2
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"
pre_configure() {
vsed -i runtime/CMakeLists.txt \
-e "s|\".*/bin/nvim|\${CMAKE_CROSSCOMPILING_EMULATOR} &|g"
}
post_install() {
vlicense LICENSE
}