net-im/deltachat-rpc-server-bin: move from ::minazuki
Signed-off-by: Shin'ya Minazuki <shinyoukai@laidback.moe>
This commit is contained in:
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user