From e74d603290b88fd2ec5cf310317461de661fc842 Mon Sep 17 00:00:00 2001 From: SinTan1729 Date: Tue, 21 May 2024 19:43:08 -0500 Subject: [PATCH] new: Added neovim --- headscale/lure.sh | 2 +- neovim/lure.sh | 28 ++++++++++++++++++++++++++++ 2 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 neovim/lure.sh diff --git a/headscale/lure.sh b/headscale/lure.sh index 88ad37e..5abfea8 100644 --- a/headscale/lure.sh +++ b/headscale/lure.sh @@ -1,7 +1,7 @@ name='headscale' version=VERSION 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/' architectures=('amd64') maintainer='SinTan1729' diff --git a/neovim/lure.sh b/neovim/lure.sh new file mode 100644 index 0000000..ed4647d --- /dev/null +++ b/neovim/lure.sh @@ -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 +}