From 8de3fb216c039f2f8ad477e35c633320461ed90f Mon Sep 17 00:00:00 2001 From: Andrew Ammerlaan Date: Tue, 13 Apr 2021 14:17:48 +0200 Subject: [PATCH] app-editors/typora-bin: fix desktop file and xdg Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Andrew Ammerlaan --- app-editors/typora-bin/typora-bin-9999.ebuild | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/app-editors/typora-bin/typora-bin-9999.ebuild b/app-editors/typora-bin/typora-bin-9999.ebuild index 06a72c1d82..fc1051d6e9 100644 --- a/app-editors/typora-bin/typora-bin-9999.ebuild +++ b/app-editors/typora-bin/typora-bin-9999.ebuild @@ -3,7 +3,7 @@ EAPI=7 -inherit xdg-utils desktop +inherit desktop xdg DESCRIPTION="a markdown editor,markdown reader." HOMEPAGE="https://typora.io" @@ -20,6 +20,8 @@ RDEPEND=" ${DEPEND}" BDEPEND="" +QA_PREBUILT="*" + src_unpack() { if [ ${A} != "" ]; then unpack ${A} @@ -34,9 +36,5 @@ src_install() { dosym -r /opt/Typora-linux-x64/Typora /usr/bin/Typora fperms 0755 /opt/Typora-linux-x64/Typora fperms 4755 /opt/Typora-linux-x64/chrome-sandbox - domenu /usr/share/applications/ -} - -pkg_postinst() { - xdg_desktop_database_update + domenu "${FILESDIR}/Typora.desktop" }