net-im/deltachat-rpc-server-bin: move from ::minazuki

Signed-off-by: Shin'ya Minazuki <shinyoukai@laidback.moe>
This commit is contained in:
Shin'ya Minazuki
2026-04-18 21:28:00 -03:00
parent 421b04b26e
commit d40b8c5f62
3 changed files with 51 additions and 0 deletions

View File

@@ -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
}