From af25bab0bdda8bc057a26d97544b28d0047b903f Mon Sep 17 00:00:00 2001 From: damage Date: Wed, 29 Jan 2025 19:21:54 +0100 Subject: [PATCH] added net-im/threema-bin --- net-im/threema-bin/Manifest | 2 ++ net-im/threema-bin/threema-bin-9999.ebuild | 36 ++++++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 net-im/threema-bin/Manifest create mode 100644 net-im/threema-bin/threema-bin-9999.ebuild diff --git a/net-im/threema-bin/Manifest b/net-im/threema-bin/Manifest new file mode 100644 index 0000000..73eb342 --- /dev/null +++ b/net-im/threema-bin/Manifest @@ -0,0 +1,2 @@ +DIST Threema-Latest.deb 99036640 BLAKE2B 50e17fb62403dfdf447e8140287fb5dc0eda4fdcb543eeac201ab9400790fc2ae169fd4362a250e232f0f5ba3d7212ee1b8976c88866d469e860191c0d89d82c SHA512 bbc1d64af8b919e3033a28ad0f439fa43ba4d9a45a96703fb9d098f8d7160517a9508b5c997fb9d81f5166a75adb791684d57e30612d90e7f375d70cd86b3d18 +EBUILD threema-bin-9999.ebuild 685 BLAKE2B e53a4c0855c4b353a78b5bd18e1bd02719c985b5840bfefa7cf3c239de5eacb4f38a85268fda7c27341af60870706ec8e0e988a116314828437edc3eef087a7b SHA512 12306e2abcdd26f7381c22bf84572e9f100e40ed268688677fb0427dbef33bcdbf8341aced208f6b1416a706f8baa377711dce5f5bd990ed0dfd8a07a3bc9b93 diff --git a/net-im/threema-bin/threema-bin-9999.ebuild b/net-im/threema-bin/threema-bin-9999.ebuild new file mode 100644 index 0000000..5888303 --- /dev/null +++ b/net-im/threema-bin/threema-bin-9999.ebuild @@ -0,0 +1,36 @@ +# Copyright 2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit unpacker + +DESCRIPTION="Latest version of Threema Desktop App" +HOMEPAGE="https://threema.ch" +SRC_URI="https://releases.threema.ch/web-electron/v1/release/Threema-Latest.deb" + +S="${WORKDIR}" + +RESTRICT="mirror" + +LICENSE="AGPL-3" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND="" +RDEPEND="${DEPEND}" +BDEPEND="" + +src_install() { + insinto /opt + doins -r usr/lib/threema + fperms a+x /opt/threema/threema-web + + dodir /opt/bin + dosym ../threema/threema-web /opt/bin/threema + + insinto /usr/share + doins -r usr/share/applications + doins -r usr/share/icons + dodoc -r usr/share/doc/threema/* +}