makedeb
Official Tutanota email client
Click here to go back to the commit logs for tutanota-desktop-bin.
Hash: 2806d4d4490b9b3abcefeda66ad29ec6bee3b71b
Message: use versioned PEM file
diff --git a/.SRCINFO b/.SRCINFO
index e201e33..f05a42a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = tutanota-desktop-bin
pkgdesc = Official Tutanota email client
pkgver = 3.83.7
- pkgrel = 1
+ pkgrel = 2
url = https://tutanota.com
arch = x86_64
license = GPL3
@@ -16,7 +16,7 @@ pkgbase = tutanota-desktop-bin
replaces = tutanota-desktop-linux
source = tutanota-desktop-3.83.7.AppImage::https://mail.tutanota.com/desktop/tutanota-desktop-linux.AppImage
source = linux-sig-3.83.7.bin::https://mail.tutanota.com/desktop/linux-sig.bin
- source = https://raw.githubusercontent.com/tutao/tutanota/master/tutao-pub.pem
+ source = tutao-pub-3.83.7.pem::https://github.com/tutao/tutanota/raw/tutanota-release-3.83.7/tutao-pub.pem
source = tutanota-desktop
sha512sums = 5de22d317ada78b893f5b9aebc68eed3c2eff2607a439ebc9aa4e584a195111c844cb1b51c9594e7be589c97e597bcb7227c04583dc0500df533867258288ae1
sha512sums = c860c3ff019dde2ec248aa93e4b0eaa82d57463b0497b0433001ba4ad6d085c149a1bac5a1f61e52b1a19a032d36f2fcc8f04a8c3d90d798ed92ad31130398a0
diff --git a/PKGBUILD b/PKGBUILD
index 742900c..9d1e40d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
# Co-Maintainer: Aaron J. Graves <linux@ajgraves.com>
pkgname=tutanota-desktop-bin
pkgver=3.83.7
-pkgrel=1
+pkgrel=2
pkgdesc="Official Tutanota email client"
arch=('x86_64')
url="https://tutanota.com"
@@ -11,7 +11,7 @@ depends=('nss' 'libappindicator-gtk3' 'libnotify' 'org.freedesktop.secrets')
makedepends=('openssl')
source=("${pkgname%-bin}-$pkgver.AppImage::https://mail.tutanota.com/desktop/${pkgname%-bin}-linux.AppImage"
"linux-sig-$pkgver.bin::https://mail.tutanota.com/desktop/linux-sig.bin"
- 'https://raw.githubusercontent.com/tutao/tutanota/master/tutao-pub.pem'
+ "tutao-pub-$pkgver.pem::https://github.com/tutao/tutanota/raw/tutanota-release-$pkgver/tutao-pub.pem"
"${pkgname%-bin}")
provides=("${pkgname%-bin}")
conflicts=("${pkgname%-bin}" "${pkgname%-bin}-linux")
@@ -23,7 +23,7 @@ sha512sums=('5de22d317ada78b893f5b9aebc68eed3c2eff2607a439ebc9aa4e584a195111c844
prepare() {
# Validate the signature against public key: https://tutanota.com/howto/#verify-desktop
- openssl dgst -sha512 -verify tutao-pub.pem -signature linux-sig-${pkgver}.bin \
+ openssl dgst -sha512 -verify tutao-pub-$pkgver.pem -signature linux-sig-${pkgver}.bin \
"${pkgname%-bin}-$pkgver.AppImage"
chmod +x "${pkgname%-bin}-$pkgver.AppImage"