Compare commits
11 Commits
af67d7557d
...
auto-updat
| Author | SHA1 | Date | |
|---|---|---|---|
| 1ad8c69aa1 | |||
| b72251c416 | |||
| 7e5bc45900 | |||
| e84a334667 | |||
| dda36d9427 | |||
| 9658fca369 | |||
| 19626d1ec0 | |||
| 5c2840cb8d | |||
| 5ac7d96d08 | |||
| e9017b20b5 | |||
| 79c02cda09 |
20
.SRCINFO
20
.SRCINFO
@@ -4,8 +4,8 @@ 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
|
||||
pkgrel = 2
|
||||
pkgver = 0.10.0
|
||||
url = https://neovim.io
|
||||
arch = amd64
|
||||
conflicts = neovim
|
||||
@@ -19,21 +19,17 @@ 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)
|
||||
makedepends = rsync
|
||||
makedepends = squashfs-tools
|
||||
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 = nvim-0.10.0.appimage::https://github.com/neovim/neovim/releases/download/v0.10.0/nvim.appimage
|
||||
source = ex
|
||||
source = view
|
||||
source = vimdiff
|
||||
sha256sums = 58ac03b345e8675e13322f8c7135906ce26a1ca7a87d041344d64b207be7bedf
|
||||
sha256sums = 6a021e9465fe3d3375e28c3e94c1c2c4f7d1a5a67e4a78cf52d18d77b1471390
|
||||
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)
|
||||
makedepends = rsync
|
||||
makedepends = squashfs-tools
|
||||
|
||||
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
|
||||
21
.github/workflows/ci.yaml
vendored
Normal file
21
.github/workflows/ci.yaml
vendored
Normal 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
|
||||
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,4 +1,5 @@
|
||||
pkg/
|
||||
src/
|
||||
*.appimage
|
||||
*.deb
|
||||
*.tar.gz
|
||||
|
||||
37
PKGBUILD
37
PKGBUILD
@@ -1,55 +1,40 @@
|
||||
# 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
|
||||
pkgver=0.8.3
|
||||
pkgrel=1
|
||||
pkgver=0.10.0
|
||||
pkgrel=2
|
||||
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')
|
||||
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')
|
||||
extensions=('zipman')
|
||||
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.appimage"
|
||||
"ex"
|
||||
"view"
|
||||
"vimdiff")
|
||||
postinst="${pkgname}.postinst"
|
||||
prerm="${pkgname}.prerm"
|
||||
sha256sums=('58ac03b345e8675e13322f8c7135906ce26a1ca7a87d041344d64b207be7bedf'
|
||||
sha256sums=('6a021e9465fe3d3375e28c3e94c1c2c4f7d1a5a67e4a78cf52d18d77b1471390'
|
||||
'5d3178628afc39f0318638cad19e9ad06ada89926dfb263e93ab35cc8f60e911'
|
||||
'3cb963a264b6cf45749627408b5a62c6945e5e426b595bb5e6a388194c2c1990'
|
||||
'1d3123b9d97a4889696ab72db558041b5cca8e26ff51ae557f7842242a7d4ed1')
|
||||
|
||||
prepare() {
|
||||
rm -rf nvim-linux64/
|
||||
tar -xf "nvim-linux64-${pkgver}.tar.gz"
|
||||
rm -rf squashfs-root/
|
||||
chmod +x "./nvim-${pkgver}.appimage"
|
||||
"./nvim-${pkgver}.appimage" --appimage-extract > /dev/null
|
||||
}
|
||||
|
||||
package() {
|
||||
echo "Copying application binary"
|
||||
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"
|
||||
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/"
|
||||
|
||||
Reference in New Issue
Block a user