void-packages/srcpkgs/neovim/template
FollieHiyuki d0b70e65f0 neovim: update to 0.5.1
Use Release build type instead of RelWithDebInfo. As explained in [1],
Release builds are preferred for actual users because they disable
assertions. The -dbg package doesn't seem to have been affected by this
change and still contains the correct debug information.

[1] 6f965f41df

Closes: #33148 [via git-merge-pr]
2021-09-28 03:46:36 -03:00

34 lines
1 KiB
Bash

# Template file for 'neovim'
pkgname=neovim
version=0.5.1
revision=1
build_style=cmake
build_helper="qemu"
configure_args="-DCMAKE_BUILD_TYPE=Release"
hostmakedepends="pkg-config gettext gperf LuaJIT lua51-lpeg lua51-mpack"
makedepends="libtermkey-devel libuv-devel libvterm-devel msgpack-devel
LuaJIT-devel libluv-devel tree-sitter-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=aa449795e5cc69bdd2eeed7095f20b9c086c6ecfcde0ab62ab97a9d04243ec84
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
}