mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
community/neovim to 0.3.7-3
This commit is contained in:
parent
df77396542
commit
576cf06abd
1 changed files with 7 additions and 2 deletions
|
@ -7,10 +7,11 @@
|
||||||
|
|
||||||
pkgname=neovim
|
pkgname=neovim
|
||||||
pkgver=0.3.7
|
pkgver=0.3.7
|
||||||
pkgrel=2
|
pkgrel=3
|
||||||
pkgdesc='Fork of Vim aiming to improve user experience, plugins, and GUIs'
|
pkgdesc='Fork of Vim aiming to improve user experience, plugins, and GUIs'
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
url='https://neovim.io'
|
url='https://neovim.io'
|
||||||
|
backup=('etc/xdg/nvim/sysinit.vim')
|
||||||
license=('custom:neovim')
|
license=('custom:neovim')
|
||||||
depends=('jemalloc' 'libtermkey' 'libuv' 'msgpack-c' 'unibilium' 'libvterm' 'luajit')
|
depends=('jemalloc' 'libtermkey' 'libuv' 'msgpack-c' 'unibilium' 'libvterm' 'luajit')
|
||||||
makedepends=('cmake' 'ninja' 'lua51-mpack' 'lua51-lpeg' 'gperf')
|
makedepends=('cmake' 'ninja' 'lua51-mpack' 'lua51-lpeg' 'gperf')
|
||||||
|
@ -45,8 +46,12 @@ package() {
|
||||||
install -Dm644 runtime/nvim.png "${pkgdir}/usr/share/pixmaps/nvim.png"
|
install -Dm644 runtime/nvim.png "${pkgdir}/usr/share/pixmaps/nvim.png"
|
||||||
|
|
||||||
# Make Arch vim packages work
|
# Make Arch vim packages work
|
||||||
|
mkdir -p "${pkgdir}"/etc/xdg/nvim
|
||||||
|
echo "\" This line makes pacman-installed global Arch Linux vim packages work." > "${pkgdir}"/etc/xdg/nvim/sysinit.vim
|
||||||
|
echo "source /usr/share/nvim/archlinux.vim" >> "${pkgdir}"/etc/xdg/nvim/sysinit.vim
|
||||||
|
|
||||||
mkdir -p "${pkgdir}"/usr/share/vim
|
mkdir -p "${pkgdir}"/usr/share/vim
|
||||||
echo "set runtimepath+=/usr/share/vim/vimfiles" > "${pkgdir}"/usr/share/nvim/sysinit.vim
|
echo "set runtimepath+=/usr/share/vim/vimfiles" > "${pkgdir}"/usr/share/nvim/archlinux.vim
|
||||||
}
|
}
|
||||||
|
|
||||||
# vim:set sw=2 sts=2 et:
|
# vim:set sw=2 sts=2 et:
|
||||||
|
|
Loading…
Reference in a new issue