commit:     dbc7ccf3d74857fedb4a9988c3e0712fe9bd6473
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Mon Jan  6 23:01:33 2025 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Mon Jan  6 23:12:45 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dbc7ccf3

app-office/joplin-desktop: fix installed file tree

Closes: https://bugs.gentoo.org/947647
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 ...lin-desktop-3.2.6.ebuild => joplin-desktop-3.2.6-r1.ebuild} | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/app-office/joplin-desktop/joplin-desktop-3.2.6.ebuild 
b/app-office/joplin-desktop/joplin-desktop-3.2.6-r1.ebuild
similarity index 91%
rename from app-office/joplin-desktop/joplin-desktop-3.2.6.ebuild
rename to app-office/joplin-desktop/joplin-desktop-3.2.6-r1.ebuild
index eac0f5b87d9b..e512dc366a9a 100644
--- a/app-office/joplin-desktop/joplin-desktop-3.2.6.ebuild
+++ b/app-office/joplin-desktop/joplin-desktop-3.2.6-r1.ebuild
@@ -83,17 +83,15 @@ src_install() {
        doins -r ./usr/share/icons
 
        local apphome="/opt/${PN}"
-       local toremove=(
+       local -a toremove=(
                .DirIcon
-               @joplinapp-desktop.desktop
-               @joplinapp-desktop.png
                AppRun
                LICENSE.electron.txt
                LICENSES.chromium.html
+               joplin.png
                resources/app.asar.unpacked/node_modules/7zip-bin-linux/arm
                resources/app.asar.unpacked/node_modules/7zip-bin-linux/arm64
                resources/app.asar.unpacked/node_modules/node-notifier
-               resources/build
                usr
        )
        rm -f -r "${toremove[@]}" || die
@@ -101,7 +99,7 @@ src_install() {
        mkdir -p "${ED}/${apphome}" || die
        cp -r . "${ED}/${apphome}" || die
 
-       dosym -r "${apphome}/@joplinapp-desktop" "/usr/bin/${PN}"
-       make_desktop_entry "${PN}" Joplin @joplinapp-desktop "Office;" \
+       dosym -r "${apphome}/joplin" "/usr/bin/${PN}"
+       make_desktop_entry "${PN}" Joplin joplin "Office;" \
                "StartupWMClass=Joplin\nMimeType=x-scheme-handler/joplin;"
 }

Reply via email to