Files
gentoo-zh/dev-util/pi-coding-agent-bin/pi-coding-agent-bin-0.82.0.ebuild
T
Zakk cadfdaf36b dev-util/pi-coding-agent-bin: add 0.82.0, drop 0.81.1
因为上游仓库从 badlogic/pi-mono 转移到 earendil-works/pi,所以把 HOMEPAGE 和 SRC_URI 更新到新仓库;metadata.xml 的 remote-id 早前已改。Closes #11321

Signed-off-by: Zakk <zakk@gentoozh.org>
2026-07-24 18:02:40 +10:00

33 lines
764 B
Bash

# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="A terminal-based coding agent with multi-model support"
HOMEPAGE="https://github.com/earendil-works/pi"
SRC_URI="
amd64? ( https://github.com/earendil-works/pi/releases/download/v${PV}/pi-linux-x64.tar.gz -> ${P}-amd64.tar.gz )
arm64? ( https://github.com/earendil-works/pi/releases/download/v${PV}/pi-linux-arm64.tar.gz -> ${P}-arm64.tar.gz )
"
S="${WORKDIR}"/pi
LICENSE="MIT"
SLOT="0"
KEYWORDS="-* ~amd64 ~arm64"
IUSE="+system-fd"
RESTRICT="bindist strip"
RDEPEND="
system-fd? ( sys-apps/fd )
"
QA_PREBUILT="opt/${PN}/pi"
src_install() {
insinto /opt/${PN}
doins -r .
fperms +x /opt/${PN}/pi
dosym ../${PN}/pi /opt/bin/pi
}