From 82eb6a934209867941685c6cadda3f52da22a2de Mon Sep 17 00:00:00 2001 From: Shin'ya Minazuki Date: Mon, 13 Apr 2026 11:37:01 -0300 Subject: [PATCH] Add net-im/deltachat-rpc-server-bin Signed-off-by: Shin'ya Minazuki --- .../deltachat-rpc-server-bin-2.49.0.ebuild | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 net-im/deltachat-rpc-server-bin/deltachat-rpc-server-bin-2.49.0.ebuild diff --git a/net-im/deltachat-rpc-server-bin/deltachat-rpc-server-bin-2.49.0.ebuild b/net-im/deltachat-rpc-server-bin/deltachat-rpc-server-bin-2.49.0.ebuild new file mode 100644 index 0000000..f400e82 --- /dev/null +++ b/net-im/deltachat-rpc-server-bin/deltachat-rpc-server-bin-2.49.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 2026 Shin'ya Minazuki +EAPI=8 + +DESCRIPTION="Delta Chat JSON-RPC server (binary)" +HOMEPAGE="https://delta.chat" +SRC_URI=" + amd64? ( https://github.com/chatmail/core/releases/download/v${PV}/deltachat-rpc-server-x86_64-linux -> ${P}-amd64 ) + arm? ( https://github.com/chatmail/core/releases/download/v${PV}/deltachat-rpc-server-armv7l-linux -> ${P}-arm ) + arm64? ( https://github.com/chatmail/core/releases/download/v${PV}/deltachat-rpc-server-aarch64-linux -> ${P}-arm64 ) + x86? ( https://github.com/chatmail/core/releases/download/v${PV}/deltachat-rpc-server-i686-linux -> ${P}-x86 ) +" +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" + +# In the case that a source-built release happens +# Coming from me, it is unlikely. +DEPEND="!net-im/deltachat-rpc-server" +RDEPEND="${DEPEND}" +BDEPEND="" + +RESTRICT="mirror" +S="${WORKDIR}" + +src_install() { + if use amd64; then + einfo + newbin ${P}-amd64 ${PN%-bin} + elif use arm; then + newbin ${P}-arm ${PN%-bin} + elif use arm64; then + newbin ${P}-arm64 ${PN%-bin} + elif use x86; then + newbin ${P}-x86 ${PN%-bin} + fi +}