summaryrefslogtreecommitdiff
path: root/mail-mta/protonmail-bridge-bin
diff options
context:
space:
mode:
Diffstat (limited to 'mail-mta/protonmail-bridge-bin')
-rw-r--r--mail-mta/protonmail-bridge-bin/Manifest3
-rw-r--r--mail-mta/protonmail-bridge-bin/metadata.xml12
-rw-r--r--mail-mta/protonmail-bridge-bin/protonmail-bridge-bin-1.0.4.ebuild42
3 files changed, 57 insertions, 0 deletions
diff --git a/mail-mta/protonmail-bridge-bin/Manifest b/mail-mta/protonmail-bridge-bin/Manifest
new file mode 100644
index 000000000000..059be6aa2439
--- /dev/null
+++ b/mail-mta/protonmail-bridge-bin/Manifest
@@ -0,0 +1,3 @@
+DIST protonmail-bridge-1.0.4-1.x86_64.rpm 47422421 BLAKE2B 0846ce606feec1402e606a3b1bbe5c4431f804afc07e24689c77bcc64f211fe756a6890598e79cb6f6169a41a20158f7685b8d26a10fb91926abc77a5681ae20 SHA512 6d366ac02dec8ae3fa2bf188eff7cdaf6155c30386c76d29771362b573b3f3abc0e26df837955cb5f56d51ed1cd1b0b603911886478b5cfc7a750b2ee0077538
+EBUILD protonmail-bridge-bin-1.0.4.ebuild 858 BLAKE2B 046e247d796a7f77fb1d4339ede81bdf363dfaff8c50510163bd1ca857c63f67c2f30415563a7b61f896718a4b8b063cee57c53b712c47b45948e12ffec1b147 SHA512 6c6a351cc1d26ce14833bff9b9a1ecc14279fe616f99ac8780872e9290670e8dc6fca8e13ff26d64d8204718dc227993b9fc81c4253fbbded9a276db9fade7d5
+MISC metadata.xml 364 BLAKE2B dd954ec6767c68a6ae792b545fe4a11b15630bb77445e146aef6577f71a05d01cf52a8b6afac6dd304ed0d9429453edb16b3f47008b411f331e786bd33c01efd SHA512 542d4cde25dd2756b2927d22dab88cfd2b086b01fcfeafe93aa9bddcbc7b2878e2e048d379572bd06a59440c2b5b255d43dfb7dc8e1e4ce59a07ae7622948845
diff --git a/mail-mta/protonmail-bridge-bin/metadata.xml b/mail-mta/protonmail-bridge-bin/metadata.xml
new file mode 100644
index 000000000000..6bf484adc0d0
--- /dev/null
+++ b/mail-mta/protonmail-bridge-bin/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>lucianposton@pm.me</email>
+ <name>Lucian Poston</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/mail-mta/protonmail-bridge-bin/protonmail-bridge-bin-1.0.4.ebuild b/mail-mta/protonmail-bridge-bin/protonmail-bridge-bin-1.0.4.ebuild
new file mode 100644
index 000000000000..b00b93b20070
--- /dev/null
+++ b/mail-mta/protonmail-bridge-bin/protonmail-bridge-bin-1.0.4.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit rpm
+
+DESCRIPTION="Serves ProtonMail to IMAP/SMTP clients"
+HOMEPAGE="https://protonmail.com/bridge/"
+SRC_URI="https://protonmail.com/download/${P/-bin/}-1.x86_64.rpm"
+
+RESTRICT="bindist mirror"
+
+LICENSE="MIT protonmail-bridge-EULA"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND=""
+RDEPEND="
+ app-crypt/libsecret
+ dev-libs/glib:2
+ media-sound/pulseaudio
+ virtual/opengl
+"
+
+S="${WORKDIR}"
+
+QA_PREBUILT="*"
+
+src_install() {
+ # Using doins -r would strip executable bits from all binaries
+ cp -pPR "${S}"/usr "${D}"/ || die "Failed to copy files"
+
+ dosym "Desktop-Bridge" "/usr/bin/${PN}" || die
+
+ cat <<-EOF > "${T}/50-${PN}" || die
+ SEARCH_DIRS_MASK="/usr/lib*/protonmail/bridge"
+ EOF
+ insinto /etc/revdep-rebuild
+ doins "${T}/50-${PN}"
+}