Files
gentoo-zh/dev-util/qodercli-bin/qodercli-bin-1.1.78.ebuild
T
Yongxiang Liang f9ef2ee4ac dev-util/qodercli-bin: new package, add 1.1.78
因为 `strip` 会破坏 Bun 单文件可执行(剥离后 `qodercli --version` 输出 Bun 自身版本而非应用版本),所以设置
`RESTRICT=strip`。

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

29 lines
658 B
Bash

# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Qoder CLI, Qoder's command-line coding agent"
HOMEPAGE="https://qoder.com/cli/"
SRC_URI="
amd64? (
https://qoder-ide.oss-accelerate.aliyuncs.com/qodercli/releases/${PV}/qodercli-linux-x64.tar.gz -> ${P}-amd64.tar.gz
)
arm64? (
https://qoder-ide.oss-accelerate.aliyuncs.com/qodercli/releases/${PV}/qodercli-linux-arm64.tar.gz -> ${P}-arm64.tar.gz
)
"
S="${WORKDIR}"
LICENSE="Qoder-EULA"
SLOT="0"
KEYWORDS="-* ~amd64 ~arm64"
RESTRICT="mirror bindist strip"
QA_PREBUILT="usr/bin/qodercli"
src_install() {
dobin qodercli
}