add neovim-bin
All checks were successful
ci/woodpecker/push/build_bin Pipeline was successful
ci/woodpecker/push/build_other Pipeline was successful

This commit is contained in:
leafee98 2023-05-22 10:22:50 +08:00
parent 32aa6c4c33
commit 8793b49b48
2 changed files with 21 additions and 0 deletions

View file

@ -14,3 +14,4 @@ matrix:
- dufs-bin - dufs-bin
- filebrowser-bin - filebrowser-bin
- forgejo-bin - forgejo-bin
- neovim-bin

20
neovim-bin/DEBBUILD Normal file
View file

@ -0,0 +1,20 @@
#/usr/bin/env bash
pkgname="neovim"
pkgver="0.9.0"
pkgrel=1
pkgcommit=""
pkgdesc="A modern editor"
url="https://github.com/neovim/neovim"
maintainer="Leafee98 <me@leafee98.com>"
source=(
"nvim-linux64.tar.gz::https://github.com/neovim/neovim/releases/download/v${pkgver}/nvim-linux64.tar.gz"
)
function package {
mkdir "${pkgdir}/local"
mv "${srcdir}/nvim-linux64/bin" "${pkgdir}/local/bin"
mv "${srcdir}/nvim-linux64/lib" "${pkgdir}/local/bin"
mv "${srcdir}/nvim-linux64/share" "${pkgdir}/local/bin"
}