From 8793b49b484e687093dee92489917e9222a950b5 Mon Sep 17 00:00:00 2001 From: leafee98 Date: Mon, 22 May 2023 10:22:50 +0800 Subject: [PATCH] add neovim-bin --- .woodpecker/build_bin.yml | 1 + neovim-bin/DEBBUILD | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 neovim-bin/DEBBUILD diff --git a/.woodpecker/build_bin.yml b/.woodpecker/build_bin.yml index b6d76d3..0fe3280 100644 --- a/.woodpecker/build_bin.yml +++ b/.woodpecker/build_bin.yml @@ -14,3 +14,4 @@ matrix: - dufs-bin - filebrowser-bin - forgejo-bin + - neovim-bin diff --git a/neovim-bin/DEBBUILD b/neovim-bin/DEBBUILD new file mode 100644 index 0000000..21cffaa --- /dev/null +++ b/neovim-bin/DEBBUILD @@ -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 " + +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" +}