hi,
it would be great to use a version in the name of the downloaded artifact. the current version always uses the name ${_appimage}
which is constant for different versions. so when updating the package i still have this artifact in the local cache and the package manager does not download. to fix this i have to force a fresh download.
instead of this
source=("${_appimage}::${_githuburl}/releases/download/v${pkgver}/${_appimage}")
you could try something like this:
source=("${_appimage}-$pkgver-$pkgrel::${_githuburl}/releases/download/v${pkgver}/${_appimage}")
so the local downloaed file will have the version and the release-number in its name. if the version changes, the packagemanager will not try to uses the old binary artifact.
Pinned Comments