Files
gentoo-zh/dev-util/qoderwake-bin/qoderwake-bin-1.2.1.ebuild
T
Yongxiang Liang 90d779f861 dev-util/qoderwake-bin: new package, add 1.2.1
因为 `strip` 会破坏 Bun 单文件可执行(`qoderwake` 与自带的 `qodercli/qodercli-wake` 同为 Bun 编译产物,剥离后
`--version` 输出 Bun 自身版本),所以设置 `RESTRICT=strip`。

Signed-off-by: Yongxiang Liang <tanekliang@gmail.com>
2026-10-25 15:47:35 +11:00

39 lines
841 B
Bash

# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Qoder Wake, Qoder's local agent runtime for coding agents"
HOMEPAGE="https://qoder.com/"
SRC_URI="
amd64? (
https://download.qoder.com/qoderwake/releases/${PV}/qoderwake_${PV}_linux_amd64.tar.gz -> ${P}-amd64.tar.gz
)
arm64? (
https://download.qoder.com/qoderwake/releases/${PV}/qoderwake_${PV}_linux_arm64.tar.gz -> ${P}-arm64.tar.gz
)
"
S="${WORKDIR}"
LICENSE="Qoder-EULA"
SLOT="0"
KEYWORDS="-* ~amd64 ~arm64"
RESTRICT="mirror bindist strip"
QA_PREBUILT="opt/qoderwake/*"
src_install() {
local dest=/opt/qoderwake
exeinto ${dest}
doexe qoderwake
exeinto ${dest}/qodercli
doexe qodercli/qodercli-wake
insinto ${dest}
doins -r resources
dosym -r /opt/qoderwake/qoderwake /usr/bin/qoderwake
}