makedeb


tutanota-desktop-bin 220.240411.0-0


Official Tutanota email client

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

Commit:


Hash: 3fd9d61df3c9e34ac4a1de08cec52bef79ef325a

Message: Fixed filename issues

Diff


diff --git a/.SRCINFO b/.SRCINFO
index 9017969..8ffbb5b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
 pkgbase = tutanota-desktop-bin
 	pkgdesc = Official Tutanota email client
 	pkgver = 3.66.5
-	pkgrel = 2
+	pkgrel = 3
 	url = https://tutanota.com
 	arch = x86_64
 	license = GPL3
diff --git a/PKGBUILD b/PKGBUILD
index 76dd247..1fff97a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
 # Co-Maintainer: Aaron J. Graves <linux@ajgraves.com>
 pkgname=tutanota-desktop-bin
 pkgver=3.66.5
-pkgrel=2
+pkgrel=3
 pkgdesc="Official Tutanota email client"
 arch=('x86_64')
 url="https://tutanota.com"
@@ -30,8 +30,8 @@ prepare() {
 	openssl dgst -sha512 -verify tutao-pub.pem -signature linux-sig.bin "${pkgname%-bin}-$pkgver.AppImage"
 	set +e
 
-	chmod +x "$pkgname-$pkgver.AppImage"
-	./"$pkgname-$pkgver.AppImage" --appimage-extract
+	chmod +x "${pkgname%-bin}-$pkgver.AppImage"
+	./"${pkgname%-bin}-$pkgver.AppImage" --appimage-extract
 
 	sed -i 's|Exec=AppRun|Exec=/opt/tutanota-desktop/AppRun|g' "squashfs-root/${pkgname%-bin}.desktop"
 }