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
@@ -19,7 +19,7 @@ pkgbase = timetable-bin
|
||||
provides = timetable
|
||||
conflicts = untis
|
||||
conflicts = timetable
|
||||
source = https://github.com/Felitendo/PKGBUILDS/releases/download/timetable-bin-4.2.1/timetable-bin-4.2.1.tar.zst
|
||||
source = timetable-bin-4.2.1-1.tar.zst::https://github.com/Felitendo/PKGBUILDS/releases/download/timetable-bin-4.2.1/timetable-bin-4.2.1.tar.zst
|
||||
sha256sums = c68179716fdb5eb6268203168207a1ea7d03a75456c00de38d152dc6098bd0dc
|
||||
|
||||
pkgname = timetable-bin
|
||||
@@ -13,7 +13,7 @@ depends=('gtk4' 'libadwaita' 'webkitgtk-6.0' 'libsecret' 'python' 'python-gobjec
|
||||
'python-requests' 'python-pyotp' 'glib2' 'hicolor-icon-theme')
|
||||
provides=('untis' 'timetable')
|
||||
conflicts=('untis' 'timetable')
|
||||
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=('c68179716fdb5eb6268203168207a1ea7d03a75456c00de38d152dc6098bd0dc')
|
||||
|
||||
package() {
|
||||
|
||||
Reference in new issue
Block a user