Compare commits

...

15 Commits

Author SHA1 Message Date
Jonathan Apodaca
73513ed565 v0.11.1
Some checks failed
Build makedeb package / hello_world_job (push) Failing after 7s
2025-04-28 11:06:46 -06:00
Jonathan Apodaca
2ada20d399 v0.11.0
All checks were successful
Build makedeb package / hello_world_job (push) Successful in 2m30s
2025-03-26 10:49:16 -06:00
c5a439275f v0.10.4
All checks were successful
Build makedeb package / hello_world_job (push) Successful in 2m28s
2025-01-29 13:57:35 -07:00
908e13e44a v0.10.2
Some checks failed
Build makedeb package / hello_world_job (push) Failing after 7s
2024-11-19 17:13:23 -07:00
5c63df711f v0.10.1
All checks were successful
Build makedeb package / hello_world_job (push) Successful in 57s
2024-07-24 09:11:24 -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
8 changed files with 39 additions and 127 deletions

View File

@@ -1,11 +1,9 @@
generated-by = makedeb generated-by = makedeb
pkgname = neovim-bin pkgname = neovim-bin
postinst = neovim-bin.postinst
prerm = neovim-bin.prerm
pkgbase = neovim-bin pkgbase = neovim-bin
pkgdesc = Fork of Vim aiming to improve user experience, plugins, and GUIs pkgdesc = Fork of Vim aiming to improve user experience, plugins, and GUIs
pkgrel = 1 pkgrel = 1
pkgver = 0.8.3 pkgver = 0.11.1
url = https://neovim.io url = https://neovim.io
arch = amd64 arch = amd64
conflicts = neovim conflicts = neovim
@@ -19,21 +17,17 @@ depends = libunibilium4
depends = libvterm0 depends = libvterm0
depends = lua-luv depends = lua-luv
license = custom:neovim license = custom:neovim
optdepends = python-neovim: for Python 3 plugin support (see :help python) makedepends = rsync
optdepends = xclip: for clipboard support on X11 (or xsel) (see :help clipboard) makedepends = squashfs-tools
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
provides = neovim-runtime 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 = nvim-0.11.1.appimage::https://github.com/neovim/neovim/releases/download/v0.11.1/nvim-linux-x86_64.appimage
source = ex source = ex
source = view source = view
source = vimdiff source = vimdiff
sha256sums = 58ac03b345e8675e13322f8c7135906ce26a1ca7a87d041344d64b207be7bedf sha256sums = 7f89b0de9e74481aab58acf90cafc049fb04197c5630ddfbb8ca7abb638570da
sha256sums = 5d3178628afc39f0318638cad19e9ad06ada89926dfb263e93ab35cc8f60e911 sha256sums = 5d3178628afc39f0318638cad19e9ad06ada89926dfb263e93ab35cc8f60e911
sha256sums = 3cb963a264b6cf45749627408b5a62c6945e5e426b595bb5e6a388194c2c1990 sha256sums = 3cb963a264b6cf45749627408b5a62c6945e5e426b595bb5e6a388194c2c1990
sha256sums = 1d3123b9d97a4889696ab72db558041b5cca8e26ff51ae557f7842242a7d4ed1 sha256sums = 1d3123b9d97a4889696ab72db558041b5cca8e26ff51ae557f7842242a7d4ed1
optdepends = python-neovim: for Python 3 plugin support (see :help python) makedepends = rsync
optdepends = xclip: for clipboard support on X11 (or xsel) (see :help clipboard) makedepends = squashfs-tools
optdepends = xsel: for clipboard support on X11 (or xclip) (see :help clipboard)
optdepends = wl-clipboard: for clipboard support on wayland (see :help clipboard)

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

@@ -0,0 +1,21 @@
name: Build makedeb package
on: [push]
jobs:
hello_world_job:
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

1
.gitignore vendored
View File

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

View File

@@ -1,55 +1,35 @@
# Maintainer: canony <canony@protonmail.ch> # Maintainer: Jonathan Apodaca <jrapodaca@gmail.com>
# Contributor: Sven-Hendrik Haase <svenstaro@gmail.com>
# Contributor: Florian Walch <florian+aur@fwalch.com>
# Contributor: Florian Hahn <flo@fhahn.com>
pkgname=neovim-bin pkgname=neovim-bin
pkgver=0.8.3 pkgver=0.11.1
pkgrel=1 pkgrel=1
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=('amd64') arch=('amd64')
url='https://neovim.io' url='https://neovim.io'
license=('custom:neovim') license=('custom:neovim')
provides=('neovim' 'neovim-runtime') 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)'
'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' 'neovim-runtime') conflicts=('neovim' 'neovim-git' 'neovim-runtime')
extensions=('zipman')
source=( source=(
"nvim-linux64-${pkgver}.tar.gz::https://github.com/neovim/neovim/releases/download/v${pkgver}/nvim-linux64.tar.gz" "nvim-${pkgver}.appimage::https://github.com/neovim/neovim/releases/download/v${pkgver}/nvim-linux-x86_64.appimage"
"ex" "ex"
"view" "view"
"vimdiff") "vimdiff")
postinst="${pkgname}.postinst" sha256sums=('7f89b0de9e74481aab58acf90cafc049fb04197c5630ddfbb8ca7abb638570da'
prerm="${pkgname}.prerm"
sha256sums=('58ac03b345e8675e13322f8c7135906ce26a1ca7a87d041344d64b207be7bedf'
'5d3178628afc39f0318638cad19e9ad06ada89926dfb263e93ab35cc8f60e911' '5d3178628afc39f0318638cad19e9ad06ada89926dfb263e93ab35cc8f60e911'
'3cb963a264b6cf45749627408b5a62c6945e5e426b595bb5e6a388194c2c1990' '3cb963a264b6cf45749627408b5a62c6945e5e426b595bb5e6a388194c2c1990'
'1d3123b9d97a4889696ab72db558041b5cca8e26ff51ae557f7842242a7d4ed1') '1d3123b9d97a4889696ab72db558041b5cca8e26ff51ae557f7842242a7d4ed1')
prepare() { prepare() {
rm -rf nvim-linux64/ rm -rf squashfs-root/
tar -xf "nvim-linux64-${pkgver}.tar.gz" chmod +x "./nvim-${pkgver}.appimage"
"./nvim-${pkgver}.appimage" --appimage-extract > /dev/null
} }
package() { package() {
echo "Copying application binary" rsync -a "squashfs-root/usr/" "${pkgdir}/usr/"
install -Dm 755 nvim-linux64/bin/nvim -t "${pkgdir}/usr/bin/"
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 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" mkdir -p "${pkgdir}/usr/libexec/neovim"
install -Dm 755 ex "${pkgdir}/usr/libexec/neovim/" install -Dm 755 ex "${pkgdir}/usr/libexec/neovim/"
install -Dm 755 view "${pkgdir}/usr/libexec/neovim/" install -Dm 755 view "${pkgdir}/usr/libexec/neovim/"

View File

@@ -1,14 +0,0 @@
#!/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

View File

@@ -1,24 +0,0 @@
#!/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

View File

@@ -1,18 +0,0 @@
#!/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
View File

@@ -1,28 +0,0 @@
#!/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