debian-packages/neovim-bin/DEBBUILD
leafee98 796c98a350
Some checks failed
ci/woodpecker/push/build_bin Pipeline failed
ci/woodpecker/push/build_other Pipeline was successful
update neovim-bin, fix install path
2023-05-22 10:39:57 +08:00

21 lines
538 B
Plaintext

#/usr/bin/env bash
pkgname="neovim"
pkgver="0.9.0"
pkgrel=2
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}/usr/local/bin"
mv "${srcdir}/nvim-linux64/lib" "${pkgdir}/usr/local/bin"
mv "${srcdir}/nvim-linux64/share" "${pkgdir}/usr/local/bin"
}