diff options
author | Hunter Wittenborn | 2021-04-05 22:11:20 -0500 |
---|---|---|
committer | Hunter Wittenborn | 2021-04-05 22:11:20 -0500 |
commit | 135b6d3409c13af69456908186c207a8e40382fb (patch) | |
tree | 83c63242e6ffe36152723854bcd7ec95caa38097 | |
parent | 25c611aba8e67278447eee09cb800f6d003d389a (diff) | |
download | aur-135b6d3409c13af69456908186c207a8e40382fb.tar.gz |
Fix launching via CLI
-rw-r--r-- | PKGBUILD | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -4,7 +4,7 @@ pkgname=zoho-mail-desktop pkgver=1.2.0 -pkgrel=7 +pkgrel=9 pkgdesc="The desktop version of your favorite mailsuite!" arch=('x86_64') license=('custom') @@ -25,7 +25,8 @@ package() { cp -Lr "${srcdir}/squashfs-root" "${pkgdir}/opt/zoho-mail-desktop" mkdir -p "${pkgdir}/usr/bin" - cp -Lr "${pkgdir}/opt/zoho-mail-desktop/squashfs-root/AppRun" "${pkgdir}/usr/bin/zoho-mail-desktop" + echo '#!/usr/bin/env bash + gtk-launch zoho-mail-desktop.desktop' | tee "${pkgdir}/usr/bin/zoho-mail-desktop" mkdir -p "${pkgdir}/usr/share/applications" cp -Lr "${srcdir}/zoho-mail-desktop.desktop" "${pkgdir}/usr/share/applications" |