summaryrefslogtreecommitdiff
path: root/dev-util/opencode-bin/opencode-bin-1.18.34.ebuild
diff options
context:
space:
mode:
authorCrucible <crucible@localhost>2026-10-05 20:15:34 -0500
committerCrucible <crucible@localhost>2026-10-05 20:15:34 -0500
commit0ec94c3dc8d7a7ce5a857085e8039d80dbb1fb93 (patch)
tree712bba14b1c4791c27e4a1b21bbb7b4637c70bbd /dev-util/opencode-bin/opencode-bin-1.18.34.ebuild
parent5c02f4f10cf4865b1f5d2fc82a62c9292351d08d (diff)
downloadsrcux-0ec94c3dc8d7a7ce5a857085e8039d80dbb1fb93.tar.gz
srcux-0ec94c3dc8d7a7ce5a857085e8039d80dbb1fb93.tar.xz
srcux-0ec94c3dc8d7a7ce5a857085e8039d80dbb1fb93.zip
Publish srcux candidate 0000000571-20261005-201336
Diffstat (limited to 'dev-util/opencode-bin/opencode-bin-1.18.34.ebuild')
-rw-r--r--dev-util/opencode-bin/opencode-bin-1.18.34.ebuild28
1 files changed, 28 insertions, 0 deletions
diff --git a/dev-util/opencode-bin/opencode-bin-1.18.34.ebuild b/dev-util/opencode-bin/opencode-bin-1.18.34.ebuild
new file mode 100644
index 000000000000..8b1fe8eee975
--- /dev/null
+++ b/dev-util/opencode-bin/opencode-bin-1.18.34.ebuild
@@ -0,0 +1,28 @@
+# Copyright 2021-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="The open source coding agent"
+HOMEPAGE="https://opencode.ai"
+
+SRC_URI="
+ amd64? (
+ https://github.com/anomalyco/opencode/releases/download/v${PV}/opencode-linux-x64.tar.gz -> ${P}-amd64.tar.gz
+ )
+ arm64? (
+ https://github.com/anomalyco/opencode/releases/download/v${PV}/opencode-linux-arm64.tar.gz -> ${P}-arm64.tar.gz
+ )
+"
+
+S="${WORKDIR}"
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+RESTRICT="mirror strip"
+
+QA_PREBUILT="usr/bin/opencode"
+
+src_install() {
+ dobin opencode
+}