Compare commits
1 Commits
master
...
auto-updat
Author | SHA1 | Date | |
---|---|---|---|
1ad8c69aa1 |
10
.SRCINFO
10
.SRCINFO
@ -1,9 +1,11 @@
|
|||||||
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 = 2
|
||||||
pkgver = 0.11.1
|
pkgver = 0.10.0
|
||||||
url = https://neovim.io
|
url = https://neovim.io
|
||||||
arch = amd64
|
arch = amd64
|
||||||
conflicts = neovim
|
conflicts = neovim
|
||||||
@ -21,11 +23,11 @@ makedepends = rsync
|
|||||||
makedepends = squashfs-tools
|
makedepends = squashfs-tools
|
||||||
provides = neovim
|
provides = neovim
|
||||||
provides = neovim-runtime
|
provides = neovim-runtime
|
||||||
source = nvim-0.11.1.appimage::https://github.com/neovim/neovim/releases/download/v0.11.1/nvim-linux-x86_64.appimage
|
source = nvim-0.10.0.appimage::https://github.com/neovim/neovim/releases/download/v0.10.0/nvim.appimage
|
||||||
source = ex
|
source = ex
|
||||||
source = view
|
source = view
|
||||||
source = vimdiff
|
source = vimdiff
|
||||||
sha256sums = 7f89b0de9e74481aab58acf90cafc049fb04197c5630ddfbb8ca7abb638570da
|
sha256sums = 6a021e9465fe3d3375e28c3e94c1c2c4f7d1a5a67e4a78cf52d18d77b1471390
|
||||||
sha256sums = 5d3178628afc39f0318638cad19e9ad06ada89926dfb263e93ab35cc8f60e911
|
sha256sums = 5d3178628afc39f0318638cad19e9ad06ada89926dfb263e93ab35cc8f60e911
|
||||||
sha256sums = 3cb963a264b6cf45749627408b5a62c6945e5e426b595bb5e6a388194c2c1990
|
sha256sums = 3cb963a264b6cf45749627408b5a62c6945e5e426b595bb5e6a388194c2c1990
|
||||||
sha256sums = 1d3123b9d97a4889696ab72db558041b5cca8e26ff51ae557f7842242a7d4ed1
|
sha256sums = 1d3123b9d97a4889696ab72db558041b5cca8e26ff51ae557f7842242a7d4ed1
|
||||||
|
34
.github/workflows/checkupdates.yaml
vendored
Normal file
34
.github/workflows/checkupdates.yaml
vendored
Normal 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
|
2
.github/workflows/ci.yaml
vendored
2
.github/workflows/ci.yaml
vendored
@ -3,7 +3,7 @@ name: Build makedeb package
|
|||||||
on: [push]
|
on: [push]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
hello_world_job:
|
build_makedeb_pkg:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
13
PKGBUILD
13
PKGBUILD
@ -1,8 +1,11 @@
|
|||||||
# Maintainer: Jonathan Apodaca <jrapodaca@gmail.com>
|
# 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.11.1
|
pkgver=0.10.0
|
||||||
pkgrel=1
|
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=('amd64')
|
arch=('amd64')
|
||||||
url='https://neovim.io'
|
url='https://neovim.io'
|
||||||
@ -13,11 +16,13 @@ depends=('libluajit-5.1-2' 'libluajit-5.1-common' 'libmsgpackc2' 'libtermkey1' '
|
|||||||
conflicts=('neovim' 'neovim-git' 'neovim-runtime')
|
conflicts=('neovim' 'neovim-git' 'neovim-runtime')
|
||||||
extensions=('zipman')
|
extensions=('zipman')
|
||||||
source=(
|
source=(
|
||||||
"nvim-${pkgver}.appimage::https://github.com/neovim/neovim/releases/download/v${pkgver}/nvim-linux-x86_64.appimage"
|
"nvim-${pkgver}.appimage::https://github.com/neovim/neovim/releases/download/v${pkgver}/nvim.appimage"
|
||||||
"ex"
|
"ex"
|
||||||
"view"
|
"view"
|
||||||
"vimdiff")
|
"vimdiff")
|
||||||
sha256sums=('7f89b0de9e74481aab58acf90cafc049fb04197c5630ddfbb8ca7abb638570da'
|
postinst="${pkgname}.postinst"
|
||||||
|
prerm="${pkgname}.prerm"
|
||||||
|
sha256sums=('6a021e9465fe3d3375e28c3e94c1c2c4f7d1a5a67e4a78cf52d18d77b1471390'
|
||||||
'5d3178628afc39f0318638cad19e9ad06ada89926dfb263e93ab35cc8f60e911'
|
'5d3178628afc39f0318638cad19e9ad06ada89926dfb263e93ab35cc8f60e911'
|
||||||
'3cb963a264b6cf45749627408b5a62c6945e5e426b595bb5e6a388194c2c1990'
|
'3cb963a264b6cf45749627408b5a62c6945e5e426b595bb5e6a388194c2c1990'
|
||||||
'1d3123b9d97a4889696ab72db558041b5cca8e26ff51ae557f7842242a7d4ed1')
|
'1d3123b9d97a4889696ab72db558041b5cca8e26ff51ae557f7842242a7d4ed1')
|
||||||
|
14
neovim-bin.postinst
Normal file
14
neovim-bin.postinst
Normal 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
24
neovim-bin.prerm
Normal 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
18
postinst
Executable 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
28
prerm
Executable 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
|
Loading…
x
Reference in New Issue
Block a user