neovim: initial commit, version 0.5.0
This commit is contained in:
parent
325994692c
commit
3f21b37c8c
1576
neovim/.footprint
Normal file
1576
neovim/.footprint
Normal file
File diff suppressed because it is too large
Load Diff
5
neovim/.signature
Normal file
5
neovim/.signature
Normal file
@ -0,0 +1,5 @@
|
||||
untrusted comment: verify with /etc/ports/opt.pub
|
||||
RWSE3ohX2g5d/YH1W0QyaT9EyAXQn86rQkQ3SVmE/H2YB728i0mk2osbrSQs6qU16+Hxo/gulJVQg4vkmAHES0/crmEVFcZ9eAY=
|
||||
SHA256 (Pkgfile) = 227a8544c7dc3504be04501df163971b39042f2845549f3eb3e4e8657d55b075
|
||||
SHA256 (.footprint) = 9dc757e2dc294c20dfbeaefbb259c0a605deeb1be2e48190b6434984beb0d66d
|
||||
SHA256 (neovim-0.5.0.tar.gz) = 2294caa9d2011996499fbd70e4006e4ef55db75b99b6719154c09262e23764ef
|
35
neovim/Pkgfile
Normal file
35
neovim/Pkgfile
Normal file
@ -0,0 +1,35 @@
|
||||
# Description: Vim-fork focused on extensibility and usability
|
||||
# URL: https://neovim.io/
|
||||
# Maintainer: Tim Biermann, tbier at posteo dot de
|
||||
# Depends on: cmake unzip
|
||||
# Optional: ninja
|
||||
|
||||
name=neovim
|
||||
version=0.5.0
|
||||
release=1
|
||||
source=(https://github.com/neovim/neovim/archive/v$version/$name-$version.tar.gz)
|
||||
|
||||
build() {
|
||||
prt-get isinst ninja && PKGMK_NEOVIM+=' -G Ninja'
|
||||
cmake -S neovim-$version/third-party -B neovim-$version/.deps $PKGMK_NEOVIM \
|
||||
-D CMAKE_BUILD_TYPE=Release \
|
||||
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS -O3" \
|
||||
-D CMAKE_CXX_FLAGS_RELEASE="$CFLAGS -O3" \
|
||||
-D ENABLE_LTO=ON \
|
||||
-Wno-dev
|
||||
cmake --build neovim-$version/.deps
|
||||
|
||||
cmake -S neovim-$version -B build $PKGMK_NEOVIM \
|
||||
-D CMAKE_INSTALL_PREFIX=/usr \
|
||||
-D CMAKE_INSTALL_LIBDIR=lib \
|
||||
-D CMAKE_BUILD_TYPE=Release \
|
||||
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS -O3" \
|
||||
-D ENABLE_LTO=ON \
|
||||
-Wno-dev
|
||||
cmake --build build
|
||||
DESTDIR=$PKG cmake --install build
|
||||
|
||||
install -Dm644 neovim-$version/runtime/nvim.desktop $PKG/usr/share/applications/nvim.desktop
|
||||
install -Dm644 neovim-$version/runtime/nvim.png $PKG/usr/share/pixmaps/nvim.png
|
||||
rm -r $PKG/usr/share/locale
|
||||
}
|
Loading…
Reference in New Issue
Block a user