aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mail-client/proton-mail-bin/proton-mail-bin-5.0.108.1.ebuild')
-rw-r--r--mail-client/proton-mail-bin/proton-mail-bin-5.0.108.1.ebuild30
1 files changed, 30 insertions, 0 deletions
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 000000000..a497251ac
--- /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"
+
+}