makedeb
Official Tutanota email client
Click here to go back to the commit logs for tutanota-desktop-bin.
Hash: 1a0271182f13991de37b1aa820446b03edbcd81d
Message: 227.240429.0 download bug
diff --git a/.SRCINFO b/.SRCINFO
index 50fbcd1..5fd2a13 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -3,7 +3,7 @@ pkgname = tutanota-desktop-bin
pkgbase = tutanota-desktop-bin
pkgdesc = Official Tutanota email client
pkgrel = 0
-pkgver = 225.240417.0
+pkgver = 227.240429.0
url = https://tutanota.com
arch = amd64
conflicts = tutanota-desktop
@@ -13,11 +13,11 @@ depends = libsecret-1-0
depends = libnss3
license = GPL3
makedepends = openssl
+makedepends = wget
provides = tutanota-desktop
-source = tutanota-desktop-225.240417.0.AppImage::https://app.tuta.com/desktop/tutanota-desktop-linux.AppImage
-source = linux-sig-225.240417.0.bin::https://mail.tutanota.com/desktop/linux-sig.bin
-source = tutao-pub-225.240417.0.pem::https://github.com/tutao/tutanota/raw/tutanota-desktop-release-225.240417.0/tutao-pub.pem
-sha256sums = 1bd759066243849c656419ce7da642b6df035fed9c2b61bd05ea2473fc1eeb73
-sha256sums = 3f8d8d4925ba1fb8b570bb94af2642b84d87f06c2b4637319a98a671cde714c0
+source = linux-sig-227.240429.0.bin::https://mail.tutanota.com/desktop/linux-sig.bin
+source = tutao-pub-227.240429.0.pem::https://github.com/tutao/tutanota/raw/tutanota-desktop-release-227.240429.0/tutao-pub.pem
+sha256sums = a76cca25f6cc93522c9a2d353d0579aed99c3fa1c93dcb7e2880540d89b8646b
sha256sums = 837890c39de1c52f297b44b50194869754fb4d1327112cdafd14bdc0c3db27fd
makedepends = openssl
+makedepends = wget
diff --git a/PKGBUILD b/PKGBUILD
index 0840526..fa30093 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,32 +2,36 @@
# Contributor: Mark Wagie (AUR) <mark dot wagie at tutanota dot com>
# Contributor: Aaron J. Graves (AUR) <linux@ajgraves.com>
pkgname=tutanota-desktop-bin
-pkgver=225.240417.0
+pkgver=227.240429.0
pkgrel=0
pkgdesc="Official Tutanota email client"
arch=('amd64')
url="https://tutanota.com"
license=('GPL3')
depends=('libasound2' 'libgtk-3-0' 'libsecret-1-0' 'libnss3')
-makedepends=('openssl')
-source=("${pkgname%-bin}-$pkgver.AppImage::https://app.tuta.com/desktop/${pkgname%-bin}-linux.AppImage"
+# wget is for download bug
+makedepends=('openssl' 'wget')
+# Download bug
+source=(
+#"${pkgname%-bin}-$pkgver.AppImage::https://app.tuta.com/desktop/${pkgname%-bin}-linux.AppImage"
"linux-sig-$pkgver.bin::https://mail.tutanota.com/desktop/linux-sig.bin"
"tutao-pub-$pkgver.pem::https://github.com/tutao/tutanota/raw/${pkgname%-bin}-release-${pkgver%}/tutao-pub.pem")
provides=("${pkgname%-bin}")
conflicts=("${pkgname%-bin}")
-sha256sums=('1bd759066243849c656419ce7da642b6df035fed9c2b61bd05ea2473fc1eeb73'
- '3f8d8d4925ba1fb8b570bb94af2642b84d87f06c2b4637319a98a671cde714c0'
+_AppImageSHA256='0701b665bea7451cbc21f8471b42163e8c00ed5805e7aa081f0258d914eeaa17'
+sha256sums=(
+#'0701b665bea7451cbc21f8471b42163e8c00ed5805e7aa081f0258d914eeaa17'
+ 'a76cca25f6cc93522c9a2d353d0579aed99c3fa1c93dcb7e2880540d89b8646b'
'837890c39de1c52f297b44b50194869754fb4d1327112cdafd14bdc0c3db27fd')
prepare() {
- # Download bug, if download keeps failling,
- # to use comment out .AppImage in source and sha256sums and have wget installed
- # don't use the curl line, broken
- #SHA256='1bd759066243849c656419ce7da642b6df035fed9c2b61bd05ea2473fc1eeb73'
- ######dont use: curl --retry 3 --output "tutanota-desktop-${pkgver}.AppImage" https://app.tuta.com/desktop/tutanota-desktop-linux.AppImage
- #wget -c https://app.tuta.com/desktop/tutanota-desktop-linux.AppImage -O tutanota-desktop-${pkgver}.AppImage
- #echo "$SHA256 tutanota-desktop-${pkgver}.AppImage" | sha256sum --check
+ # Download bug, normall download keeps failling,
+ # dont use, for testing
+ #curl --retry 3 --output "../tutanota-desktop-${pkgver}.AppImage" https://app.tuta.com/desktop/tutanota-desktop-linux.AppImage
+ wget -c https://app.tuta.com/desktop/tutanota-desktop-linux.AppImage -O ../tutanota-desktop-${pkgver}.AppImage
+ ln -sf ../tutanota-desktop-${pkgver}.AppImage tutanota-desktop-${pkgver}.AppImage
+ echo "$_AppImageSHA256 tutanota-desktop-${pkgver}.AppImage" | sha256sum --check
# Validate the signature against public key: https://tutanota.com/howto/#verify-desktop
openssl dgst -sha512 -verify tutao-pub-${pkgver}.pem -signature linux-sig-${pkgver}.bin \