Compare commits

...

11 Commits

Author SHA1 Message Date
af67d7557d 0.8.3 2023-02-08 13:32:16 -07:00
canony
d7d96b64dd upgpkg: neovim-bin 0.7.2-1
upstream release

Update neovim-bin to 0.7.2
2022-06-28 06:52:16 +00:00
canony
65c2b33429 upgpkg: neovim-bin 0.7.0-1
upstream release

Update neovim to 0.7.0
2022-04-15 19:09:26 +00:00
canony
ed1457b4a7 upgpkg: neovim-bin 0.6.1-1
upstream release

Update neovim to v0.6.1
2022-01-02 22:01:16 +01:00
canony
24e997c594 upgpkg: neovim-bin 0.6.0-4
Add alternative symlinks
2021-12-22 21:26:48 +01:00
canony
9e058cd271 upgpkg: neovim-bin 0.6.0-3
Housekeeping with PKGBUILD
2021-12-18 16:25:33 +01:00
canony
755d7062d2 upgpkg: neovim-bin 0.6.0-2
Typo
2021-12-01 13:53:03 +01:00
canony
c03f50e710 upgpkg: neovim-bin 0.6.0-2
Update shasum
2021-12-01 13:49:06 +01:00
canony
2d3049ad28 upgpkg: neovim-bin 0.6.0-1
upstream release

Update Neovim to 0.6.0
2021-11-30 23:35:44 +01:00
canony
37507511f0 Merge commit '53a62a40abd5b9ce82915a2c7d6ad21bc25f6c8e' 2021-10-12 15:12:58 +02:00
canony
53a62a40ab upgpkg: neovim-bin 0.5.1-2
Update package relations
2021-10-06 14:52:20 +02:00
10 changed files with 166 additions and 45 deletions

View File

@ -1,27 +1,39 @@
generated-by = makedeb-makepkg
pkgbase = neovim-bin
pkgdesc = Fork of Vim aiming to improve user experience, plugins, and GUIs
pkgver = 0.5.1
pkgrel = 3
url = https://neovim.io
arch = x86_64
license = custom:neovim
depends = libluajit-5.1-2
depends = libluajit-5.1-common
depends = libmsgpackc2
depends = libtermkey1
depends = libunibilium4
depends = libvterm0
depends = lua-luv
optdepends = python-neovim: for Python 3 plugin support (see :help python)
optdepends = xclip: for clipboard support on X11 (or xsel) (see :help clipboard)
optdepends = xsel: for clipboard support on X11 (or xclip) (see :help clipboard)
optdepends = wl-clipboard: for clipboard support on wayland (see :help clipboard)
provides = neovim
conflicts = neovim
conflicts = neovim-git
source = https://github.com/neovim/neovim/releases/download/v0.5.1/nvim-linux64.tar.gz
sha512sums = 4b86c4f876629207a4ca8aff6853287cc7dc8a9133aa750b48bb9b7450cce357b97971eb85faf58eb0b9f3f20a927a5dcf5fd06e541ba7e882ccc4db33c12d6c
generated-by = makedeb
pkgname = neovim-bin
postinst = neovim-bin.postinst
prerm = neovim-bin.prerm
pkgbase = neovim-bin
pkgdesc = Fork of Vim aiming to improve user experience, plugins, and GUIs
pkgrel = 1
pkgver = 0.8.3
url = https://neovim.io
arch = amd64
conflicts = neovim
conflicts = neovim-git
conflicts = neovim-runtime
depends = libluajit-5.1-2
depends = libluajit-5.1-common
depends = libmsgpackc2
depends = libtermkey1
depends = libunibilium4
depends = libvterm0
depends = lua-luv
license = custom:neovim
optdepends = python-neovim: for Python 3 plugin support (see :help python)
optdepends = xclip: for clipboard support on X11 (or xsel) (see :help clipboard)
optdepends = xsel: for clipboard support on X11 (or xclip) (see :help clipboard)
optdepends = wl-clipboard: for clipboard support on wayland (see :help clipboard)
provides = neovim
provides = neovim-runtime
source = nvim-linux64-0.8.3.tar.gz::https://github.com/neovim/neovim/releases/download/v0.8.3/nvim-linux64.tar.gz
source = ex
source = view
source = vimdiff
sha256sums = 58ac03b345e8675e13322f8c7135906ce26a1ca7a87d041344d64b207be7bedf
sha256sums = 5d3178628afc39f0318638cad19e9ad06ada89926dfb263e93ab35cc8f60e911
sha256sums = 3cb963a264b6cf45749627408b5a62c6945e5e426b595bb5e6a388194c2c1990
sha256sums = 1d3123b9d97a4889696ab72db558041b5cca8e26ff51ae557f7842242a7d4ed1
optdepends = python-neovim: for Python 3 plugin support (see :help python)
optdepends = xclip: for clipboard support on X11 (or xsel) (see :help clipboard)
optdepends = xsel: for clipboard support on X11 (or xclip) (see :help clipboard)
optdepends = wl-clipboard: for clipboard support on wayland (see :help clipboard)

4
.gitignore vendored Normal file
View File

@ -0,0 +1,4 @@
pkg/
src/
*.deb
*.tar.gz

View File

@ -4,41 +4,56 @@
# Contributor: Florian Hahn <flo@fhahn.com>
pkgname=neovim-bin
pkgver=0.5.1
pkgrel=3
pkgver=0.8.3
pkgrel=1
pkgdesc='Fork of Vim aiming to improve user experience, plugins, and GUIs'
arch=('x86_64')
arch=('amd64')
url='https://neovim.io'
license=('custom:neovim')
provides=('neovim')
provides=('neovim' 'neovim-runtime')
depends=('libluajit-5.1-2' 'libluajit-5.1-common' 'libmsgpackc2' 'libtermkey1' 'libunibilium4' 'libvterm0' 'lua-luv')
optdepends=('python-neovim: for Python 3 plugin support (see :help python)'
'xclip: for clipboard support on X11 (or xsel) (see :help clipboard)'
'xsel: for clipboard support on X11 (or xclip) (see :help clipboard)'
'wl-clipboard: for clipboard support on wayland (see :help clipboard)')
conflicts=('neovim' 'neovim-git')
source=("https://github.com/neovim/neovim/releases/download/v${pkgver}/nvim-linux64.tar.gz")
sha512sums=('4b86c4f876629207a4ca8aff6853287cc7dc8a9133aa750b48bb9b7450cce357b97971eb85faf58eb0b9f3f20a927a5dcf5fd06e541ba7e882ccc4db33c12d6c')
conflicts=('neovim' 'neovim-git' 'neovim-runtime')
source=(
"nvim-linux64-${pkgver}.tar.gz::https://github.com/neovim/neovim/releases/download/v${pkgver}/nvim-linux64.tar.gz"
"ex"
"view"
"vimdiff")
postinst="${pkgname}.postinst"
prerm="${pkgname}.prerm"
sha256sums=('58ac03b345e8675e13322f8c7135906ce26a1ca7a87d041344d64b207be7bedf'
'5d3178628afc39f0318638cad19e9ad06ada89926dfb263e93ab35cc8f60e911'
'3cb963a264b6cf45749627408b5a62c6945e5e426b595bb5e6a388194c2c1990'
'1d3123b9d97a4889696ab72db558041b5cca8e26ff51ae557f7842242a7d4ed1')
prepare() {
tar xvf nvim-linux64.tar.gz
rm -rf nvim-linux64/
tar -xf "nvim-linux64-${pkgver}.tar.gz"
}
package() {
cd "${srcdir}/nvim-linux64"
echo "Coppying application binary"
install -Dm 755 bin/nvim -t ${pkgdir}/usr/bin/
echo "Copying application binary"
install -Dm 755 nvim-linux64/bin/nvim -t "${pkgdir}/usr/bin/"
echo "Coppying libraries"
install -Dm 644 lib/nvim/parser/c.so -t ${pkgdir}/usr/lib/nvim/parser/
echo "Copying libraries"
install -Dm 644 nvim-linux64/lib/nvim/parser/c.so -t "${pkgdir}/usr/lib/nvim/parser/"
echo "Copying application files"
mkdir -p ${pkgdir}/usr/share/
cp -r share/applications ${pkgdir}/usr/share/applications
cp -r share/icons ${pkgdir}/usr/share/icons
cp -r share/locale ${pkgdir}/usr/share/locale
cp -r share/man ${pkgdir}/usr/share/man
cp -r share/nvim ${pkgdir}/usr/share/nvim
mkdir -p "${pkgdir}/usr/share/"
cp -r nvim-linux64/share/applications "${pkgdir}/usr/share/applications"
cp -r nvim-linux64/share/icons "${pkgdir}/usr/share/icons"
cp -r nvim-linux64/share/locale "${pkgdir}/usr/share/locale"
cp -r nvim-linux64/share/man "${pkgdir}/usr/share/man"
cp -r nvim-linux64/share/nvim "${pkgdir}/usr/share/nvim"
echo "Copying scripts for update-alternatives symbolic links"
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:

2
ex Executable file
View File

@ -0,0 +1,2 @@
#!/bin/sh
exec /usr/bin/nvim -e "$@"

14
neovim-bin.postinst Normal file
View File

@ -0,0 +1,14 @@
#!/bin/sh
set -e
update-alternatives --install /usr/bin/editor editor /usr/bin/nvim 30 \
--slave /usr/share/man/man1/editor.1.gz editor.1.gz \
/usr/share/man/man1/nvim.1.gz
update-alternatives --install /usr/bin/ex ex /usr/libexec/neovim/ex 30
update-alternatives --install /usr/bin/vi vi /usr/bin/nvim 30
update-alternatives --install /usr/bin/vim vim /usr/bin/nvim 30
update-alternatives --install /usr/bin/view view /usr/libexec/neovim/view 30
update-alternatives --install /usr/bin/vimdiff vimdiff /usr/libexec/neovim/vimdiff 30
exit 0

24
neovim-bin.prerm Normal file
View File

@ -0,0 +1,24 @@
#!/bin/sh
set -e
case "$1" in
remove|deconfigure)
update-alternatives --remove editor /usr/bin/nvim
update-alternatives --remove ex /usr/libexec/neovim/ex
update-alternatives --remove vi /usr/bin/nvim
update-alternatives --remove vim /usr/bin/nvim
update-alternatives --remove view /usr/libexec/neovim/view
update-alternatives --remove vimdiff /usr/libexec/neovim/vimdiff
;;
upgrade|failed-upgrade)
;;
*)
echo "prerm called with unknown argument '$1'" >&2
exit 0
;;
esac
exit 0

18
postinst Executable file
View File

@ -0,0 +1,18 @@
#!/bin/sh
set -e
update-alternatives --install /usr/bin/editor editor /usr/bin/nvim 30 \
--slave /usr/share/man/man1/editor.1.gz editor.1.gz \
/usr/share/man/man1/nvim.1.gz
update-alternatives --install /usr/bin/ex ex /usr/libexec/neovim/ex 30
update-alternatives --install /usr/bin/rvim rvim /usr/libexec/neovim/rvim 30
update-alternatives --install /usr/bin/rview rview /usr/libexec/neovim/rview 30
update-alternatives --install /usr/bin/vi vi /usr/bin/nvim 30
update-alternatives --install /usr/bin/vim vim /usr/bin/nvim 30
update-alternatives --install /usr/bin/view view /usr/libexec/neovim/view 30
update-alternatives --install /usr/bin/vimdiff vimdiff /usr/libexec/neovim/vimdiff 30
exit 0

28
prerm Executable file
View File

@ -0,0 +1,28 @@
#!/bin/sh
set -e
case "$1" in
remove|deconfigure)
update-alternatives --remove editor /usr/bin/nvim
update-alternatives --remove ex /usr/libexec/neovim/ex
update-alternatives --remove rvim /usr/libexec/neovim/rvim
update-alternatives --remove rview /usr/libexec/neovim/rview
update-alternatives --remove vi /usr/bin/nvim
update-alternatives --remove vim /usr/bin/nvim
update-alternatives --remove view /usr/libexec/neovim/view
update-alternatives --remove vimdiff /usr/libexec/neovim/vimdiff
;;
upgrade|failed-upgrade)
;;
*)
echo "prerm called with unknown argument '$1'" >&2
exit 0
;;
esac
exit 0

2
view Executable file
View File

@ -0,0 +1,2 @@
#!/bin/sh
exec /usr/bin/nvim -R "$@"

2
vimdiff Executable file
View File

@ -0,0 +1,2 @@
#!/bin/sh
exec /usr/bin/nvim -d "$@"