diff options
author | Lucian Poston <lucianposton@pm.me> | 2018-05-19 04:35:11 -0700 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2018-06-17 13:20:06 +0200 |
commit | 8dfdbde3c36499cfcff2be128fcef1c0b010b43f (patch) | |
tree | d3b3c404991d8e5b294fa679bdfaa958906c4d22 /mail-mta/protonmail-bridge-bin | |
parent | net-dialup/freeradius: Update metadata (diff) | |
download | gentoo-8dfdbde3c36499cfcff2be128fcef1c0b010b43f.tar.gz gentoo-8dfdbde3c36499cfcff2be128fcef1c0b010b43f.tar.bz2 gentoo-8dfdbde3c36499cfcff2be128fcef1c0b010b43f.zip |
mail-mta/protonmail-bridge-bin: new package
Closes: https://bugs.gentoo.org/656112
Closes: https://github.com/gentoo/gentoo/pull/8483
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'mail-mta/protonmail-bridge-bin')
-rw-r--r-- | mail-mta/protonmail-bridge-bin/Manifest | 1 | ||||
-rw-r--r-- | mail-mta/protonmail-bridge-bin/metadata.xml | 12 | ||||
-rw-r--r-- | mail-mta/protonmail-bridge-bin/protonmail-bridge-bin-1.0.4.ebuild | 42 |
3 files changed, 55 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..2209f0bab9dd --- /dev/null +++ b/mail-mta/protonmail-bridge-bin/Manifest @@ -0,0 +1 @@ +DIST protonmail-bridge-1.0.4-1.x86_64.rpm 47422421 BLAKE2B 0846ce606feec1402e606a3b1bbe5c4431f804afc07e24689c77bcc64f211fe756a6890598e79cb6f6169a41a20158f7685b8d26a10fb91926abc77a5681ae20 SHA512 6d366ac02dec8ae3fa2bf188eff7cdaf6155c30386c76d29771362b573b3f3abc0e26df837955cb5f56d51ed1cd1b0b603911886478b5cfc7a750b2ee0077538 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}" +} |