makedeb
Official Tutanota email client
Click here to go back to the commit logs for tutanota-desktop-bin.
Hash: 41614ded5129a7f53957c67dffaebeb6cc52cccf
Message: renamed AppImage
diff --git a/.SRCINFO b/.SRCINFO
index 95f9d90..9017969 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -16,7 +16,7 @@ pkgbase = tutanota-desktop-bin
provides = tutanota-desktop
conflicts = tutanota-desktop
replaces = tutanota-desktop-linux
- source = tutanota-desktop-bin-3.66.5.AppImage::https://mail.tutanota.com/desktop/tutanota-desktop-linux.AppImage
+ source = tutanota-desktop-3.66.5.AppImage::https://mail.tutanota.com/desktop/tutanota-desktop-linux.AppImage
source = https://mail.tutanota.com/desktop/linux-sig.bin
source = https://raw.githubusercontent.com/tutao/tutanota/master/tutao-pub.pem
source = tutanota-desktop
diff --git a/PKGBUILD b/PKGBUILD
index 5b20f25..ae8b92e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -12,7 +12,7 @@ depends=('nss' 'libxss' 'libxtst' 'libappindicator-gtk3' 'libnotify')
optdepends=('zenity: for dialogs'
'kdialog: for dialogs'
'xdialog: for dialogs')
-source=("$pkgname-$pkgver.AppImage::https://mail.tutanota.com/desktop/${pkgname%-bin}-linux.AppImage"
+source=("${pkgname%-bin}-$pkgver.AppImage::https://mail.tutanota.com/desktop/${pkgname%-bin}-linux.AppImage"
'https://mail.tutanota.com/desktop/linux-sig.bin'
'https://raw.githubusercontent.com/tutao/tutanota/master/tutao-pub.pem'
"${pkgname%-bin}")
@@ -27,7 +27,7 @@ sha512sums=('48c64bdf53bc3575099b3b6bd74900068ac919090f4c79a83941ee920fb3bb59630
prepare() {
# Validate the signature against public key
set -e
- openssl dgst -sha512 -verify tutao-pub.pem -signature linux-sig.bin "$pkgname-$pkgver.AppImage"
+ openssl dgst -sha512 -verify tutao-pub.pem -signature linux-sig.bin "${pkgname%-bin}-$pkgver.AppImage"
set +e
chmod +x "$pkgname-$pkgver.AppImage"