Include pkgrel in the local source filename
Artifact rebuilds (e.g. dependency bundling) change the file behind <pkg>-<ver>.tar.zst while keeping its name, so users with the previous file in their AUR helper cache hit a checksum mismatch. Naming the local download <pkg>-<ver>-<rel>.tar.zst makes every rebuild a fresh file.
This commit is contained in:
1 parent
83194de7b4
commit
6f0f9488ec
36 files changed
+36
-36
No files matched your search
@@ -14,7 +14,7 @@ depends=('lz4' 'ffmpeg' 'mpv' 'glfw' 'glew' 'freeglut' 'libpulse' 'libcups'
|
||||
provides=('linux-wallpaperengine')
|
||||
conflicts=('linux-wallpaperengine' 'linux-wallpaperengine-git')
|
||||
options=('!strip' '!debug')
|
||||
source=("https://github.com/Felitendo/PKGBUILDS/releases/download/${pkgname}-${pkgver}/${pkgname}-${pkgver}.tar.zst")
|
||||
source=("${pkgname}-${pkgver}-${pkgrel}.tar.zst::https://github.com/Felitendo/PKGBUILDS/releases/download/${pkgname}-${pkgver}/${pkgname}-${pkgver}.tar.zst")
|
||||
sha256sums=('ed71a7ca046003c368b6af7aa9766dee36cd5da84921a4a34991248d62d7bc6b')
|
||||
|
||||
package() {
|
||||
|
||||
Reference in new issue
Block a user