From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E14371382C5 for ; Tue, 13 Apr 2021 12:17:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 312E7E0CE2; Tue, 13 Apr 2021 12:17:55 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 13646E0CE2 for ; Tue, 13 Apr 2021 12:17:55 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2E134340D36 for ; Tue, 13 Apr 2021 12:17:54 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C0673478 for ; Tue, 13 Apr 2021 12:17:52 +0000 (UTC) From: "Andrew Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" Message-ID: <1618316268.8de3fb216c039f2f8ad477e35c633320461ed90f.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: app-editors/typora-bin/ X-VCS-Repository: repo/proj/guru X-VCS-Files: app-editors/typora-bin/typora-bin-9999.ebuild X-VCS-Directories: app-editors/typora-bin/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: 8de3fb216c039f2f8ad477e35c633320461ed90f X-VCS-Branch: dev Date: Tue, 13 Apr 2021 12:17:52 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: f37f9683-c81a-4b6e-a9c4-e61eeade532b X-Archives-Hash: db1fea9d9cdc65df1272ce0353738b75 commit: 8de3fb216c039f2f8ad477e35c633320461ed90f Author: Andrew Ammerlaan riseup net> AuthorDate: Tue Apr 13 12:17:48 2021 +0000 Commit: Andrew Ammerlaan riseup net> CommitDate: Tue Apr 13 12:17:48 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8de3fb21 app-editors/typora-bin: fix desktop file and xdg Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Andrew Ammerlaan riseup.net> 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 06a72c1d8..fc1051d6e 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" }