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
begin-theadventu commented on 2023-06-21 08:17 (UTC) (edited on 2023-06-21 08:22 (UTC) by begin-theadventu)
sha256sum check for arm64 is now skipped, as I don't use this arch and I don't want to download the file with each release.
If you use it, feel free to provide me with the sums.