makedeb


tutanota-desktop-bin 227.240429.0-0


Official Tutanota email client

Click here to go back to the commit logs for tutanota-desktop-bin.

Commit:


Hash: aba98a014904f825668509e79fadfc44cf3639a0

Message: Fix verification issue with linux-sig.bin file by adding a version to the file name, forcing a new download each version change.

Diff


diff --git a/.SRCINFO b/.SRCINFO
index 964f4a8..5232930 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
 pkgbase = tutanota-desktop-bin
 	pkgdesc = Official Tutanota email client
 	pkgver = 3.66.7
-	pkgrel = 1
+	pkgrel = 2
 	url = https://tutanota.com
 	arch = x86_64
 	license = GPL3
@@ -18,7 +18,7 @@ pkgbase = tutanota-desktop-bin
 	conflicts = tutanota-desktop-linux
 	replaces = tutanota-desktop-linux
 	source = tutanota-desktop-3.66.7.AppImage::https://mail.tutanota.com/desktop/tutanota-desktop-linux.AppImage
-	source = https://mail.tutanota.com/desktop/linux-sig.bin
+	source = linux-sig-3.66.7.bin::https://mail.tutanota.com/desktop/linux-sig.bin
 	source = https://raw.githubusercontent.com/tutao/tutanota/master/tutao-pub.pem
 	source = tutanota-desktop
 	sha512sums = 7830bedbc460b6c7ecffbac99ed239515f01494ed031e4c21577e3b58bda419b0f437349e73b516df272ea47ac97e1732b215e67d7eb105d4810b00f1058eed8
diff --git a/PKGBUILD b/PKGBUILD
index 675db93..eff58ae 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
 # Co-Maintainer: Aaron J. Graves <linux@ajgraves.com>
 pkgname=tutanota-desktop-bin
 pkgver=3.66.7
-pkgrel=1
+pkgrel=2
 pkgdesc="Official Tutanota email client"
 arch=('x86_64')
 url="https://tutanota.com"
@@ -13,7 +13,7 @@ optdepends=('zenity: for dialogs'
             'kdialog: for dialogs'
             'xdialog: for dialogs')
 source=("${pkgname%-bin}-$pkgver.AppImage::https://mail.tutanota.com/desktop/${pkgname%-bin}-linux.AppImage"
-        'https://mail.tutanota.com/desktop/linux-sig.bin'
+        "linux-sig-$pkgver.bin::https://mail.tutanota.com/desktop/linux-sig.bin"
         'https://raw.githubusercontent.com/tutao/tutanota/master/tutao-pub.pem'
         "${pkgname%-bin}")
 provides=("${pkgname%-bin}")
@@ -27,7 +27,7 @@ sha512sums=('7830bedbc460b6c7ecffbac99ed239515f01494ed031e4c21577e3b58bda419b0f4
 prepare() {
 	# Validate the signature against public key: https://tutanota.com/howto/#verify-desktop
 	set -e
-	openssl dgst -sha512 -verify tutao-pub.pem -signature linux-sig.bin \
+	openssl dgst -sha512 -verify tutao-pub.pem -signature linux-sig-${pkgver}.bin \
 		"${pkgname%-bin}-$pkgver.AppImage"
 	set +e