Package Details: neovim-nightly-bin 0.9.0+dev+1115+g446c353a5-1

Git Clone URL: https://aur.archlinux.org/neovim-nightly-bin.git (read-only, click to copy)
Package Base: neovim-nightly-bin
Description: Fork of Vim aiming to improve user experience, plugins, and GUIs (nightly build)
Upstream URL: https://neovim.io
Licenses: custom:neovim
Conflicts: neovim
Provides: neovim, vim-plugin-runtime
Submitter: quebin31
Maintainer: eclairevoyant
Last Packager: eclairevoyant
Votes: 60
Popularity: 2.25
First Submitted: 2020-12-27 19:08 (UTC)
Last Updated: 2023-03-04 16:00 (UTC)

Dependencies (6)

Required by (445)

Sources (4)

Pinned Comments

quebin31 commented on 2021-10-07 15:37 (UTC)

This PKGBUILD uses the current date to refresh the source url, once it's downloaded the pkgver() function should update the version accordingly.

Latest Comments

« First ‹ Previous 1 2 3 4 5 Next › Last »

starmatt commented on 2021-09-13 21:28 (UTC)

I have the same problem as @tim999, the package does not update automatically and I get the same message

-> neovim-nightly-bin: local (0.6.0+dev+262+g643cb8a6e-1) is newer than AUR (0.6.0+dev+43+g02bf251bb-1)

@tim999, just curious, what AUR helper are you using ?

tim999 commented on 2021-09-01 15:05 (UTC)

It appears that once this package has installed a nightly version, it will not pick up the next nightly version.

:: Checking development packages...
 -> neovim-nightly-bin: local (0.6.0+dev+98+ga5c25e4f3-1) is newer than AUR (0.6.0+dev+43+g02bf251bb-1)
there is nothing to do

If you reinstall the package, it picks up the most recent nightly.

dchusovitin commented on 2021-06-15 02:13 (UTC) (edited on 2021-06-15 02:15 (UTC) by dchusovitin)

@caleb, yep, my fault. I forgot about g flag.

Atif commented on 2021-06-11 14:18 (UTC)

head and awk is unnecessary. the whole version thing can be done with sed. ./bin/nvim nvim --version | sed -n 's/^NVIM v//;1s/-/+/gp'

alerque commented on 2021-06-10 19:28 (UTC)

@dchusovitin Sorry, but s/v// only replaces the first instance of v, you would need a global flag s/v//g to replace all instances. Hence if you know the string starts with a "v" you don't need to anchor the match, just don't do a global replace.

dchusovitin commented on 2021-06-09 18:34 (UTC)

@quebin31, sorry, but: sed 's/v//' - it will replace all "v" (commit hash may contain "v") sed 's/^v//' - instead of, remove only first "v" char

tafiir commented on 2021-06-07 20:20 (UTC)

I think there is an issue with naming the source file. Since pkgver is run after downloading the sources it might not download the newest version since it finds the current version already downloaded. A better approach would be to use the current date as nightlies are updated every day. Something like this

_filename="$(date -u +%Y%m%d)-${_src}"
source=("$_filename-$_pkgname-$_pkgver.tar.gz::https://github.com/neovim/neovim/releases/download/nightly/nvim-linux64.tar.gz")

dchusovitin commented on 2021-06-07 19:29 (UTC)

New pkgkver() has a bug. Version shouldn't contain "v".

harry commented on 2021-06-02 20:53 (UTC)

yzia2000, or just use the nvim --version

pkgver() {
  cd "${srcdir}/nvim-linux64"
  ./bin/nvim --version | head -1 | awk '{print $2}'
}