This commit is contained in:
Jonathan Apodaca 2023-02-08 13:32:16 -07:00
parent d7d96b64dd
commit af67d7557d
3 changed files with 15 additions and 6 deletions

View File

@ -5,7 +5,7 @@ prerm = neovim-bin.prerm
pkgbase = neovim-bin pkgbase = neovim-bin
pkgdesc = Fork of Vim aiming to improve user experience, plugins, and GUIs pkgdesc = Fork of Vim aiming to improve user experience, plugins, and GUIs
pkgrel = 1 pkgrel = 1
pkgver = 0.7.2 pkgver = 0.8.3
url = https://neovim.io url = https://neovim.io
arch = amd64 arch = amd64
conflicts = neovim conflicts = neovim
@ -25,11 +25,11 @@ optdepends = xsel: for clipboard support on X11 (or xclip) (see :help clipboard)
optdepends = wl-clipboard: for clipboard support on wayland (see :help clipboard) optdepends = wl-clipboard: for clipboard support on wayland (see :help clipboard)
provides = neovim provides = neovim
provides = neovim-runtime provides = neovim-runtime
source = https://github.com/neovim/neovim/releases/download/v0.7.2/nvim-linux64.tar.gz source = nvim-linux64-0.8.3.tar.gz::https://github.com/neovim/neovim/releases/download/v0.8.3/nvim-linux64.tar.gz
source = ex source = ex
source = view source = view
source = vimdiff source = vimdiff
sha256sums = fa75852890ca4b57551da194c696d3bbd14d9d2e966bc188d1e7e52ee942b71d sha256sums = 58ac03b345e8675e13322f8c7135906ce26a1ca7a87d041344d64b207be7bedf
sha256sums = 5d3178628afc39f0318638cad19e9ad06ada89926dfb263e93ab35cc8f60e911 sha256sums = 5d3178628afc39f0318638cad19e9ad06ada89926dfb263e93ab35cc8f60e911
sha256sums = 3cb963a264b6cf45749627408b5a62c6945e5e426b595bb5e6a388194c2c1990 sha256sums = 3cb963a264b6cf45749627408b5a62c6945e5e426b595bb5e6a388194c2c1990
sha256sums = 1d3123b9d97a4889696ab72db558041b5cca8e26ff51ae557f7842242a7d4ed1 sha256sums = 1d3123b9d97a4889696ab72db558041b5cca8e26ff51ae557f7842242a7d4ed1

4
.gitignore vendored Normal file
View File

@ -0,0 +1,4 @@
pkg/
src/
*.deb
*.tar.gz

View File

@ -4,7 +4,7 @@
# Contributor: Florian Hahn <flo@fhahn.com> # Contributor: Florian Hahn <flo@fhahn.com>
pkgname=neovim-bin pkgname=neovim-bin
pkgver=0.7.2 pkgver=0.8.3
pkgrel=1 pkgrel=1
pkgdesc='Fork of Vim aiming to improve user experience, plugins, and GUIs' pkgdesc='Fork of Vim aiming to improve user experience, plugins, and GUIs'
arch=('amd64') arch=('amd64')
@ -18,17 +18,22 @@ optdepends=('python-neovim: for Python 3 plugin support (see :help python)'
'wl-clipboard: for clipboard support on wayland (see :help clipboard)') 'wl-clipboard: for clipboard support on wayland (see :help clipboard)')
conflicts=('neovim' 'neovim-git' 'neovim-runtime') conflicts=('neovim' 'neovim-git' 'neovim-runtime')
source=( source=(
"https://github.com/neovim/neovim/releases/download/v${pkgver}/nvim-linux64.tar.gz" "nvim-linux64-${pkgver}.tar.gz::https://github.com/neovim/neovim/releases/download/v${pkgver}/nvim-linux64.tar.gz"
"ex" "ex"
"view" "view"
"vimdiff") "vimdiff")
postinst="${pkgname}.postinst" postinst="${pkgname}.postinst"
prerm="${pkgname}.prerm" prerm="${pkgname}.prerm"
sha256sums=('fa75852890ca4b57551da194c696d3bbd14d9d2e966bc188d1e7e52ee942b71d' sha256sums=('58ac03b345e8675e13322f8c7135906ce26a1ca7a87d041344d64b207be7bedf'
'5d3178628afc39f0318638cad19e9ad06ada89926dfb263e93ab35cc8f60e911' '5d3178628afc39f0318638cad19e9ad06ada89926dfb263e93ab35cc8f60e911'
'3cb963a264b6cf45749627408b5a62c6945e5e426b595bb5e6a388194c2c1990' '3cb963a264b6cf45749627408b5a62c6945e5e426b595bb5e6a388194c2c1990'
'1d3123b9d97a4889696ab72db558041b5cca8e26ff51ae557f7842242a7d4ed1') '1d3123b9d97a4889696ab72db558041b5cca8e26ff51ae557f7842242a7d4ed1')
prepare() {
rm -rf nvim-linux64/
tar -xf "nvim-linux64-${pkgver}.tar.gz"
}
package() { package() {
echo "Copying application binary" echo "Copying application binary"
install -Dm 755 nvim-linux64/bin/nvim -t "${pkgdir}/usr/bin/" install -Dm 755 nvim-linux64/bin/nvim -t "${pkgdir}/usr/bin/"