summaryrefslogtreecommitdiff
path: root/dev-util/opencode-bin/opencode-bin-1.18.29.ebuild
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-09-08 03:04:52 -0500
committerroot <root@alpha.trunkmasters.com>2026-09-08 03:04:52 -0500
commit23850c0a8390d403a1fe131e47265df579818dd5 (patch)
treee7ae85db09fa5d472795ee07ec0632e45b9bee0e /dev-util/opencode-bin/opencode-bin-1.18.29.ebuild
parent8453817910bc2afbb7ab1fbf61c3f06fb7320f35 (diff)
downloadsrcux-23850c0a8390d403a1fe131e47265df579818dd5.tar.gz
srcux-23850c0a8390d403a1fe131e47265df579818dd5.tar.xz
srcux-23850c0a8390d403a1fe131e47265df579818dd5.zip
Adding metadata
Diffstat (limited to 'dev-util/opencode-bin/opencode-bin-1.18.29.ebuild')
-rw-r--r--dev-util/opencode-bin/opencode-bin-1.18.29.ebuild28
1 files changed, 28 insertions, 0 deletions
diff --git a/dev-util/opencode-bin/opencode-bin-1.18.29.ebuild b/dev-util/opencode-bin/opencode-bin-1.18.29.ebuild
new file mode 100644
index 000000000000..afc320c6b02a
--- /dev/null
+++ b/dev-util/opencode-bin/opencode-bin-1.18.29.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"
+RESTRICT="mirror strip"
+
+QA_PREBUILT="usr/bin/opencode"
+
+src_install() {
+ dobin opencode
+}