mirror of
https://github.com/SinTan1729/lure-repo.git
synced 2024-12-25 22:38:36 -06:00
new: Added neovim
This commit is contained in:
parent
af9f249104
commit
e74d603290
2 changed files with 29 additions and 1 deletions
28
neovim/lure.sh
Normal file
28
neovim/lure.sh
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
name='neovim'
|
||||||
|
version=VERSION
|
||||||
|
release=1
|
||||||
|
desc='Fork of Vim aiming to improve user experience, plugins, and GUIs'
|
||||||
|
homepage='https://neovim.io'
|
||||||
|
git_repo='neovim/neovim'
|
||||||
|
architectures=('amd64')
|
||||||
|
maintainer='SinTan1729'
|
||||||
|
license=('Apache-2.0')
|
||||||
|
provides=('neovim')
|
||||||
|
conflicts=('neovim')
|
||||||
|
|
||||||
|
sources=()
|
||||||
|
checksums=()
|
||||||
|
|
||||||
|
version() {
|
||||||
|
printf "$(curl -sL "https://api.github.com/repos/${git_repo}/releases/latest" | jq -r '.tag_name')"
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
# Pull sources
|
||||||
|
echo "Pulling ${name} ${version}"
|
||||||
|
curl -L "https://github.com/${git_repo}/releases/latest/download/nvim-linux64.tar.gz" -o ${name}.tar.gz
|
||||||
|
# Build package
|
||||||
|
echo "Creating the package"
|
||||||
|
tar -xzf "${name}.tar.gz" -C .
|
||||||
|
cp -R nvim-linux64 ${pkgdir}/usr
|
||||||
|
}
|
Loading…
Reference in a new issue