diff options
| author | Crucible <crucible@localhost> | 2026-10-15 17:23:01 -0500 |
|---|---|---|
| committer | Crucible <crucible@localhost> | 2026-10-15 17:23:01 -0500 |
| commit | 5087f37a4d9063896fce9cf625aa2479bc540b94 (patch) | |
| tree | ba40439cb50c33940edaf2c7ea4801889a838fed /dev-util/opencode-bin/opencode-bin-2.0.29.ebuild | |
| parent | 12d66102ecbcb4a4eef51d1b7f06abe9080be243 (diff) | |
| download | srcux-5087f37a4d9063896fce9cf625aa2479bc540b94.tar.gz srcux-5087f37a4d9063896fce9cf625aa2479bc540b94.tar.xz srcux-5087f37a4d9063896fce9cf625aa2479bc540b94.zip | |
Publish srcux candidate 0000000660-20261015-172104
Diffstat (limited to 'dev-util/opencode-bin/opencode-bin-2.0.29.ebuild')
| -rw-r--r-- | dev-util/opencode-bin/opencode-bin-2.0.29.ebuild | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/dev-util/opencode-bin/opencode-bin-2.0.29.ebuild b/dev-util/opencode-bin/opencode-bin-2.0.29.ebuild new file mode 100644 index 000000000000..84b5fcf3db05 --- /dev/null +++ b/dev-util/opencode-bin/opencode-bin-2.0.29.ebuild @@ -0,0 +1,31 @@ +# Copyright 2021-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MY_PN=${PN%%-bin} + +DESCRIPTION="The open source coding agent" +HOMEPAGE="https://opencode.ai" + +SRC_URI=" + amd64? ( + https://registry.npmjs.org/@opencode/cli-linux-x64-baseline/-/cli-linux-x64-baseline-${PV}.tgz -> ${P}-amd64.tar.gz + ) + arm64? ( + https://registry.npmjs.org/@opencode/cli-linux-arm64/-/cli-linux-arm64-${PV}.tgz -> ${P}-arm64.tar.gz + ) +" + +S="${WORKDIR}" +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64" +RESTRICT="mirror strip" + +QA_PREBUILT="usr/bin/opencode" + +src_install() { + dobin package/bin/${MY_PN} + dosym ${MY_PN} /usr/bin/${MY_PN}2 +} |
