From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1617837-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 9169F158043
	for <garchives@archives.gentoo.org>; Fri,  5 Apr 2024 18:48:27 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 4D105E2A0C;
	Fri,  5 Apr 2024 18:48:26 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 2AAF1E2A0C
	for <gentoo-commits@lists.gentoo.org>; Fri,  5 Apr 2024 18:48:26 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id EA0BC3432D7
	for <gentoo-commits@lists.gentoo.org>; Fri,  5 Apr 2024 18:48:24 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 36C011685
	for <gentoo-commits@lists.gentoo.org>; Fri,  5 Apr 2024 18:48:23 +0000 (UTC)
From: "Julien Roy" <julien@jroy.ca>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Julien Roy" <julien@jroy.ca>
Message-ID: <1712341182.698c126fd4cadc09472648f82054c2c5ea7e8575.julien@gentoo>
Subject: [gentoo-commits] repo/proj/guru:master commit in: mail-client/proton-mail-bin/
X-VCS-Repository: repo/proj/guru
X-VCS-Files: mail-client/proton-mail-bin/Manifest mail-client/proton-mail-bin/proton-mail-bin-5.0.108.1.ebuild
X-VCS-Directories: mail-client/proton-mail-bin/
X-VCS-Committer: julien
X-VCS-Committer-Name: Julien Roy
X-VCS-Revision: 698c126fd4cadc09472648f82054c2c5ea7e8575
X-VCS-Branch: master
Date: Fri,  5 Apr 2024 18:48:23 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 0edc33ce-8f99-4c9a-86ee-eb6192c1f3f4
X-Archives-Hash: 0d31226f1cdcf3fbda39042e337394eb

commit:     698c126fd4cadc09472648f82054c2c5ea7e8575
Author:     David Reed <david-gentoo <AT> reedfam <DOT> email>
AuthorDate: Fri Apr  5 18:19:42 2024 +0000
Commit:     Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Fri Apr  5 18:19:42 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=698c126f

mail-client/proton-mail-bin: new package, add 5.0.108.1

Signed-off-by: David Reed <david-gentoo <AT> reedfam.email>

 mail-client/proton-mail-bin/Manifest               |  1 +
 .../proton-mail-bin-5.0.108.1.ebuild               | 30 ++++++++++++++++++++++
 2 files changed, 31 insertions(+)

diff --git a/mail-client/proton-mail-bin/Manifest b/mail-client/proton-mail-bin/Manifest
new file mode 100644
index 0000000000..1c59476674
--- /dev/null
+++ b/mail-client/proton-mail-bin/Manifest
@@ -0,0 +1 @@
+DIST proton-mail-bin-5.0.108.1.rpm 83046821 BLAKE2B 23f59d4cdd30d1f97a042b058fa79936d1696c37b6b9742f2ce8f838787fc3e048954c1af07387e1f3d920c43666b9edda336ee7d861e8024b77004d8599d641 SHA512 de38e6f11b91ab3ff5e987fe6b14d430a8911ec45b94ed7f95b758cb3d542b73cc0551142e4f94950209fa445bc8fdfd9ac3d13d50aafc183be829a0c01298e2

diff --git a/mail-client/proton-mail-bin/proton-mail-bin-5.0.108.1.ebuild b/mail-client/proton-mail-bin/proton-mail-bin-5.0.108.1.ebuild
new file mode 100644
index 0000000000..a497251ac4
--- /dev/null
+++ b/mail-client/proton-mail-bin/proton-mail-bin-5.0.108.1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit rpm
+
+DESCRIPTION="Beta Client for Proton Mail"
+HOMEPAGE="https://proton.me/mail"
+SRC_URI="https://proton.me/download/mail/linux/ProtonMail-desktop-beta.rpm -> ${P}.rpm"
+
+LICENSE="freedist"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+S="${WORKDIR}"
+
+QA_PREBUILT="opt/lib/.*"
+
+src_install() {
+	into /opt
+	cp -r "${S}"/usr/lib/* "${D}"/opt/proton-mail || die "Failed to copy files to destination directory"
+
+	dosym "../../opt/proton-mail/Proton Mail Beta" "/usr/bin/proton-mail"
+
+	insinto /usr/share
+	doins -r "${S}/usr/share/pixmaps"
+	doins -r "${S}/usr/share/applications"
+
+}