Compare commits

...

22 Commits

Author SHA1 Message Date
1ad8c69aa1 add auto-update-check
Some checks failed
Auto-update check / auto_update_check (push) Failing after 16s
Build makedeb package / build_makedeb_pkg (push) Successful in 1m23s
2024-06-12 09:31:59 -06:00
b72251c416 GitHub Actions
All checks were successful
Build makedeb package / hello_world_job (push) Successful in 1m8s
2024-06-10 17:53:57 -06:00
7e5bc45900 more comprehensive build 2024-05-17 07:55:16 -06:00
e84a334667 v0.10.0 2024-05-17 07:13:49 -06:00
dda36d9427 v0.9.5 2023-12-30 18:35:57 -07:00
9658fca369 v0.9.4 2023-10-19 16:29:56 -06:00
19626d1ec0 0.9.2 2023-09-07 06:33:44 -06:00
5c2840cb8d extensions=('zipman') (no strip) 2023-06-03 15:17:52 -06:00
5ac7d96d08 0.9.1 2023-05-29 15:28:47 -06:00
e9017b20b5 Switch to extracting the AppImage, since NeoVim no longer officially supports other build-artifacts
They are phasing them out
2023-04-08 07:58:31 -06:00
79c02cda09 0.9.0 2023-04-07 22:43:00 -06:00
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
12 changed files with 211 additions and 53 deletions

View File

@@ -1,27 +1,35 @@
generated-by = makedeb-makepkg generated-by = makedeb
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
pkgname = neovim-bin 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 = 2
pkgver = 0.10.0
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
makedepends = rsync
makedepends = squashfs-tools
provides = neovim
provides = neovim-runtime
source = nvim-0.10.0.appimage::https://github.com/neovim/neovim/releases/download/v0.10.0/nvim.appimage
source = ex
source = view
source = vimdiff
sha256sums = 6a021e9465fe3d3375e28c3e94c1c2c4f7d1a5a67e4a78cf52d18d77b1471390
sha256sums = 5d3178628afc39f0318638cad19e9ad06ada89926dfb263e93ab35cc8f60e911
sha256sums = 3cb963a264b6cf45749627408b5a62c6945e5e426b595bb5e6a388194c2c1990
sha256sums = 1d3123b9d97a4889696ab72db558041b5cca8e26ff51ae557f7842242a7d4ed1
makedepends = rsync
makedepends = squashfs-tools

34
.github/workflows/checkupdates.yaml vendored Normal file
View File

@@ -0,0 +1,34 @@
name: Auto-update check
on: [push]
jobs:
auto_update_check:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Checkout action code
run: |
git clone https://jonathan:76f1997bd68c2e296a03e8a05ed2e5c33fb4c297@git.jrop.me/mpr/action-auto-update
cd action-auto-update
npm ci
- name: Check for updates
uses: ./action-auto-update
with:
package: neovim
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# - name: Install makedeb
# env:
# MAKEDEB_RELEASE: 'makedeb'
# TERM: xterm-256color
# run: |
# bash -c "$(wget -qO - 'https://shlink.makedeb.org/install')"
#
# - name: Build package
# run: makedeb -s --no-confirm

21
.github/workflows/ci.yaml vendored Normal file
View File

@@ -0,0 +1,21 @@
name: Build makedeb package
on: [push]
jobs:
build_makedeb_pkg:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install makedeb
env:
MAKEDEB_RELEASE: 'makedeb'
TERM: xterm-256color
run: |
bash -c "$(wget -qO - 'https://shlink.makedeb.org/install')"
- name: Build package
run: makedeb -s --no-confirm

5
.gitignore vendored Normal file
View File

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

View File

@@ -1,44 +1,44 @@
# Maintainer: canony <canony@protonmail.ch> # Maintainer: Jonathan Apodaca <jrapodaca@gmail.com>
# Contributor: Sven-Hendrik Haase <svenstaro@gmail.com> # Contributor: Sven-Hendrik Haase <svenstaro@gmail.com>
# Contributor: Florian Walch <florian+aur@fwalch.com> # Contributor: Florian Walch <florian+aur@fwalch.com>
# Contributor: Florian Hahn <flo@fhahn.com> # Contributor: Florian Hahn <flo@fhahn.com>
pkgname=neovim-bin pkgname=neovim-bin
pkgver=0.5.1 pkgver=0.10.0
pkgrel=3 pkgrel=2
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=('amd64')
url='https://neovim.io' url='https://neovim.io'
license=('custom:neovim') license=('custom:neovim')
provides=('neovim') provides=('neovim' 'neovim-runtime')
makedepends=('rsync' 'squashfs-tools')
depends=('libluajit-5.1-2' 'libluajit-5.1-common' 'libmsgpackc2' 'libtermkey1' 'libunibilium4' 'libvterm0' 'lua-luv') 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)' conflicts=('neovim' 'neovim-git' 'neovim-runtime')
'xclip: for clipboard support on X11 (or xsel) (see :help clipboard)' extensions=('zipman')
'xsel: for clipboard support on X11 (or xclip) (see :help clipboard)' source=(
'wl-clipboard: for clipboard support on wayland (see :help clipboard)') "nvim-${pkgver}.appimage::https://github.com/neovim/neovim/releases/download/v${pkgver}/nvim.appimage"
conflicts=('neovim' 'neovim-git') "ex"
source=("https://github.com/neovim/neovim/releases/download/v${pkgver}/nvim-linux64.tar.gz") "view"
sha512sums=('4b86c4f876629207a4ca8aff6853287cc7dc8a9133aa750b48bb9b7450cce357b97971eb85faf58eb0b9f3f20a927a5dcf5fd06e541ba7e882ccc4db33c12d6c') "vimdiff")
postinst="${pkgname}.postinst"
prerm="${pkgname}.prerm"
sha256sums=('6a021e9465fe3d3375e28c3e94c1c2c4f7d1a5a67e4a78cf52d18d77b1471390'
'5d3178628afc39f0318638cad19e9ad06ada89926dfb263e93ab35cc8f60e911'
'3cb963a264b6cf45749627408b5a62c6945e5e426b595bb5e6a388194c2c1990'
'1d3123b9d97a4889696ab72db558041b5cca8e26ff51ae557f7842242a7d4ed1')
prepare() { prepare() {
tar xvf nvim-linux64.tar.gz rm -rf squashfs-root/
chmod +x "./nvim-${pkgver}.appimage"
"./nvim-${pkgver}.appimage" --appimage-extract > /dev/null
} }
package() { package() {
cd "${srcdir}/nvim-linux64" rsync -a "squashfs-root/usr/" "${pkgdir}/usr/"
echo "Coppying application binary" mkdir -p "${pkgdir}/usr/libexec/neovim"
install -Dm 755 bin/nvim -t ${pkgdir}/usr/bin/ install -Dm 755 ex "${pkgdir}/usr/libexec/neovim/"
install -Dm 755 view "${pkgdir}/usr/libexec/neovim/"
echo "Coppying libraries" install -Dm 755 vimdiff "${pkgdir}/usr/libexec/neovim/"
install -Dm 644 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
} }
# vim:set sw=2 sts=2 et: # 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 "$@"