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")
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.