mirror of
https://github.com/SinTan1729/lure-repo.git
synced 2024-12-25 06:28:37 -06:00
new: Added neovim
This commit is contained in:
parent
af9f249104
commit
e74d603290
2 changed files with 29 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
name='headscale'
|
name='headscale'
|
||||||
version=VERSION
|
version=VERSION
|
||||||
release=1
|
release=1
|
||||||
desc=' An open source, self-hosted implementation of the Tailscale control server'
|
desc='An open source, self-hosted implementation of the Tailscale control server'
|
||||||
homepage='https://archlinux.org/packages/extra/x86_64/headscale/'
|
homepage='https://archlinux.org/packages/extra/x86_64/headscale/'
|
||||||
architectures=('amd64')
|
architectures=('amd64')
|
||||||
maintainer='SinTan1729'
|
maintainer='SinTan1729'
|
||||||
|
|
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