Files
gentoo-zh/app-misc/opencode-bin/opencode-bin-0.1.121.ebuild
T
Leo DouglasandGitHub Copilot a42f0079f6 app-misc/opencode-bin: add 0.1.121, drop 0.1.108
🤖 Generated with [GitHub Copilot](https://github.com/features/copilot)

Co-authored-by: GitHub Copilot <copilot@github.com>
Signed-off-by: Leo Douglas <douglarek@gmail.com>
2025-06-23 11:48:18 +08:00

25 lines
585 B
Bash

# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="AI coding agent, built for the terminal"
HOMEPAGE="https://github.com/sst/opencode"
SRC_URI="
amd64? ( https://github.com/sst/opencode/releases/download/v${PV}/opencode-linux-x64.zip -> ${P}-amd64.zip )
arm64? ( https://github.com/sst/opencode/releases/download/v${PV}/opencode-linux-arm64.zip -> ${P}-arm64.zip )
"
S="${WORKDIR}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="-* ~amd64 ~arm64"
BDEPEND="app-arch/unzip"
RESTRICT="strip"
src_install() {
dobin opencode
}