Package Details: neovim-nightly-bin 0.5.0+dev+1385+g93f15db5d-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 Builds
Upstream URL: https://neovim.io
Licenses: custom:neovim
Conflicts: neovim
Provides: neovim=0.5.0, vim-plugin-runtime
Submitter: quebin31
Maintainer: quebin31
Last Packager: quebin31
Votes: 25
Popularity: 10.39
First Submitted: 2020-12-27 19:08
Last Updated: 2021-06-09 18:25

Dependencies (4)

Required by (228)

Sources (1)

Latest Comments

1 2 3 Next › Last »

Atif commented on 2021-06-11 14:18

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'

caleb commented on 2021-06-10 19:28

@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

@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

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

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

harry commented on 2021-06-02 20:53

yzia2000, or just use the nvim --version

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

yzia2000 commented on 2021-06-01 06:21

Try:

pkgver() {
  ver=$(curl "https://api.github.com/repos/neovim/neovim/releases" | grep -oP '(?<="NVIM )[^"]+dev[^"]+(?=",)' | sed "s/-/+/g")
  echo $ver
}

tafiir commented on 2021-05-31 23:15

I agree with @dchusovitin, adding a pkgver() function would resolve versioning issues and paru could update the package. AFAIK pushing only pkgver changes on VCS packages is discuraged anyway. This is also how firefox-nightly does it.

maximaman commented on 2021-05-22 19:28

Currently, I have a problem with the neovim-qt package because of this package. neovim-qt has the libmsgpackc.so.2 shared library as a dynamic dependency; however, it seems that this library does not get installed along with neovim-nightly-bin (unlike the stable neovim package from the community repo). Please add the msgpack-c package as a dependency to fix this issue.

dchusovitin commented on 2021-05-15 13:00

Yes, package version should be updated every N days. Or at least support dynamic versions (pkgver() + nvim --version)