community/neovim to 0.7.2-2

This commit is contained in:
Kevin Mihelich 2022-06-28 12:38:40 +00:00
parent 726b5220b1
commit 3c014474f4

View file

@ -8,7 +8,7 @@
pkgname=neovim
pkgver=0.7.2
pkgrel=1
pkgrel=2
pkgdesc='Fork of Vim aiming to improve user experience, plugins, and GUIs'
arch=('x86_64')
url='https://neovim.io'
@ -26,13 +26,20 @@ source=("https://github.com/neovim/neovim/archive/v${pkgver}/${pkgname}-${pkgver
sha512sums=('04d0fa5b23018531b70b53271821bf6944cde1bcec2210b99f5888e1339cd38f57feaa8e40874a3a504930e6614980947f31852185cbcd2ce106a0867896dd79')
build() {
export PKG_CONFIG_PATH="/usr/lib/libvterm01/pkgconfig:$PKG_CONFIG_PATH"
# Neovim does not support libvterm 0.2 yet
export PKG_CONFIG_PATH="/usr/lib/libvterm01/pkgconfig"
# Neovim breaks with GCC 12
# https://github.com/neovim/neovim/issues/19125
CFLAGS+=" -fno-strict-aliasing"
cmake \
-Bbuild \
-GNinja \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/usr \
-DUSE_BUNDLED=OFF \
-DMIN_LOG_LEVEL=3 \
-DENABLE_LTO=OFF \
-W no-dev \
-S neovim-$pkgver