summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorHunter Wittenborn2021-03-24 12:44:42 -0500
committerHunter Wittenborn2021-03-24 12:44:42 -0500
commit5732e063c011b7e774f6cdcadd18ab52dd176810 (patch)
tree4d77a3bdd9d2f13f1d3113c46691406392769f3a
parent11958f6cf1c8093f9e3c42b7e0763a1827b9a885 (diff)
downloadaur-5732e063c011b7e774f6cdcadd18ab52dd176810.tar.gz
Fix issue on .desktop file
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD10
-rw-r--r--zoho-mail-desktop.desktop11
3 files changed, 20 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 03a312d2c293..badefaa3d2c5 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,11 +1,13 @@
pkgbase = zoho-mail-desktop
pkgdesc = The desktop version of your favorite mailsuite!
pkgver = 1.2.0
- pkgrel = 5
+ pkgrel = 6
url = https://www.zoho.com/mail/
arch = x86_64
license = custom
source = https://downloads.zohocdn.com/zmail-desktop/linux/zoho-mail-desktop-x64-v1.2.0.AppImage
+ source = zoho-mail-desktop.desktop
+ sha256sums = SKIP
sha256sums = SKIP
pkgname = zoho-mail-desktop
diff --git a/PKGBUILD b/PKGBUILD
index 1df450e343ba..7cc796ef0216 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,14 +4,16 @@
pkgname=zoho-mail-desktop
pkgver=1.2.0
-pkgrel=5
+pkgrel=6
pkgdesc="The desktop version of your favorite mailsuite!"
arch=('x86_64')
license=('custom')
url="https://www.zoho.com/mail/"
-source=("https://downloads.zohocdn.com/zmail-desktop/linux/zoho-mail-desktop-x64-v${pkgver}.AppImage")
-sha256sums=("SKIP")
+source=("https://downloads.zohocdn.com/zmail-desktop/linux/zoho-mail-desktop-x64-v${pkgver}.AppImage"
+ "zoho-mail-desktop.desktop")
+sha256sums=("SKIP"
+ "SKIP")
prepare() {
chmod +x "zoho-mail-desktop-x64-v${pkgver}.AppImage"
@@ -26,7 +28,7 @@ package() {
cp -r "${pkgdir}/opt/zoho-mail-desktop/squashfs-root/AppRun" "${pkgdir}/usr/bin/zoho-mail-desktop"
mkdir -p "${pkgdir}/usr/share/applications"
- cp -r "${srcdir}/squashfs-root/zoho-mail-desktop.desktop" "${pkgdir}/usr/share/applications"
+ cp -r "${srcdir}/zoho-mail-desktop.desktop" "${pkgdir}/usr/share/applications"
for img in 1024x1024 128x128 16x16 24x24 256x256 32x32 48x48 512x512 64x64 96x96; do
mkdir -p "${pkgdir}/usr/share/icons/hicolor/${img}/apps"
diff --git a/zoho-mail-desktop.desktop b/zoho-mail-desktop.desktop
new file mode 100644
index 000000000000..b4ca4068f358
--- /dev/null
+++ b/zoho-mail-desktop.desktop
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Name=Zoho Mail - Desktop
+Exec=/opt/zoho-mail-desktop/squashfs-root/AppRun %U
+Terminal=false
+Type=Application
+Icon=zoho-mail-desktop
+StartupWMClass=Zoho Mail - Desktop
+X-AppImage-Version=1.2.0
+Comment=The desktop version of your favorite mailsuite!
+MimeType=x-scheme-handler/mailto;
+Categories=Office;