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
+1
-1
@@ -11,7 +11,7 @@ pkgbase = thonny-bin
|
||||
provides = thonny
|
||||
conflicts = thonny
|
||||
options = !strip
|
||||
source = https://github.com/Felitendo/PKGBUILDS/releases/download/thonny-bin-5.0.0/thonny-bin-5.0.0.tar.zst
|
||||
source = thonny-bin-5.0.0-1.tar.zst::https://github.com/Felitendo/PKGBUILDS/releases/download/thonny-bin-5.0.0/thonny-bin-5.0.0.tar.zst
|
||||
sha256sums = 7baea7ff70d7aa6e86fa1153ba8f156d8f5a402ddb5279d8e15ceceb4aaa53e5
|
||||
|
||||
pkgname = thonny-bin
|
||||
+1
-1
@@ -16,7 +16,7 @@ optdepends=('libnotify: desktop notifications (dlopened by Tk)')
|
||||
provides=('thonny')
|
||||
conflicts=('thonny')
|
||||
options=('!strip')
|
||||
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=('7baea7ff70d7aa6e86fa1153ba8f156d8f5a402ddb5279d8e15ceceb4aaa53e5')
|
||||
|
||||
package() {
|
||||
|
||||
Reference in new issue
Block a user