neovim: add vi and vim alternatives

This commit is contained in:
Duncaen 2015-11-05 22:40:01 +01:00
parent 4a16af17a6
commit 1e9c8709cc
1 changed files with 9 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'neovim' # Template file for 'neovim'
pkgname=neovim pkgname=neovim
version=0.1.0 version=0.1.0
revision=1 revision=2
build_style=cmake build_style=cmake
configure_args="-DLUA_PRG=/usr/bin/lua5.2" configure_args="-DLUA_PRG=/usr/bin/lua5.2"
hostmakedepends="cmake lua52-lpeg lua52-MessagePack lua52-BitOp" hostmakedepends="cmake lua52-lpeg lua52-MessagePack lua52-BitOp"
@ -13,3 +13,11 @@ license="Apache-2.0, GPL-2"
homepage="http://neovim.io" homepage="http://neovim.io"
distfiles="https://github.com/${pkgname}/${pkgname}/archive/v${version}.tar.gz" distfiles="https://github.com/${pkgname}/${pkgname}/archive/v${version}.tar.gz"
checksum=e8659558103b8f5a65aac84007a12e3581b32736321778028017fd07365cfff8 checksum=e8659558103b8f5a65aac84007a12e3581b32736321778028017fd07365cfff8
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"