new: Added neovim

This commit is contained in:
Sayantan Santra 2024-05-21 19:43:08 -05:00
parent af9f249104
commit e74d603290
Signed by: SinTan1729
GPG key ID: EB3E68BFBA25C85F
2 changed files with 29 additions and 1 deletions

View file

@ -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
View 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
}