neovim-bin/PKGBUILD
Jonathan Apodaca 2ada20d399
All checks were successful
Build makedeb package / hello_world_job (push) Successful in 2m30s
v0.11.0
2025-03-26 10:49:16 -06:00

40 lines
1.4 KiB
Bash

# Maintainer: Jonathan Apodaca <jrapodaca@gmail.com>
pkgname=neovim-bin
pkgver=0.11.0
pkgrel=1
pkgdesc='Fork of Vim aiming to improve user experience, plugins, and GUIs'
arch=('amd64')
url='https://neovim.io'
license=('custom:neovim')
provides=('neovim' 'neovim-runtime')
makedepends=('rsync' 'squashfs-tools')
depends=('libluajit-5.1-2' 'libluajit-5.1-common' 'libmsgpackc2' 'libtermkey1' 'libunibilium4' 'libvterm0' 'lua-luv')
conflicts=('neovim' 'neovim-git' 'neovim-runtime')
extensions=('zipman')
source=(
"nvim-${pkgver}.appimage::https://github.com/neovim/neovim/releases/download/v${pkgver}/nvim-linux-x86_64.appimage"
"ex"
"view"
"vimdiff")
sha256sums=('ca44cd43fe8d55418414496e8ec7bac83f611705ece167f4ccb93cbf46fec6c0'
'5d3178628afc39f0318638cad19e9ad06ada89926dfb263e93ab35cc8f60e911'
'3cb963a264b6cf45749627408b5a62c6945e5e426b595bb5e6a388194c2c1990'
'1d3123b9d97a4889696ab72db558041b5cca8e26ff51ae557f7842242a7d4ed1')
prepare() {
rm -rf squashfs-root/
chmod +x "./nvim-${pkgver}.appimage"
"./nvim-${pkgver}.appimage" --appimage-extract > /dev/null
}
package() {
rsync -a "squashfs-root/usr/" "${pkgdir}/usr/"
mkdir -p "${pkgdir}/usr/libexec/neovim"
install -Dm 755 ex "${pkgdir}/usr/libexec/neovim/"
install -Dm 755 view "${pkgdir}/usr/libexec/neovim/"
install -Dm 755 vimdiff "${pkgdir}/usr/libexec/neovim/"
}
# vim:set sw=2 sts=2 et: