commit:     563c5b1fdf68d452bb6b818ba56802c8e8b89ae3
Author:     Timur Kuprava <kupravagoodman <AT> proton <DOT> me>
AuthorDate: Sun Feb  1 11:29:12 2026 +0000
Commit:     Timur Kuprava <kupravagoodman <AT> proton <DOT> me>
CommitDate: Sun Feb  1 11:37:58 2026 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=563c5b1f

dev-util/opencode-bin: new package

Signed-off-by: Timur Kuprava <kupravagoodman <AT> proton.me>

 dev-util/opencode-bin/Manifest                   |  1 +
 dev-util/opencode-bin/metadata.xml               | 12 ++++++++++++
 dev-util/opencode-bin/opencode-bin-1.1.48.ebuild | 22 ++++++++++++++++++++++
 3 files changed, 35 insertions(+)

diff --git a/dev-util/opencode-bin/Manifest b/dev-util/opencode-bin/Manifest
new file mode 100644
index 0000000000..b2af600a76
--- /dev/null
+++ b/dev-util/opencode-bin/Manifest
@@ -0,0 +1 @@
+DIST opencode-bin-1.1.48-amd64.tar.gz 51797370 BLAKE2B 
a183755181acb33efd9a7d54ee4934012b7705fd37aeba24328f70f9833073a69c94228d82b0e5d5788f9854d5fefc79ea5c547a5f71780cf030d1fc1a498f7f
 SHA512 
bb92874d860ffc5c6f9a28091a6a1e638f2b09761623df247e872f388756cd88e3246afa36dab3970fdf25a6f611ccb1c3580e14b0b0999f407daf54442901d0

diff --git a/dev-util/opencode-bin/metadata.xml 
b/dev-util/opencode-bin/metadata.xml
new file mode 100644
index 0000000000..b313483dad
--- /dev/null
+++ b/dev-util/opencode-bin/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+  <maintainer type="person">
+    <email>[email protected]</email>
+    <name>Timur Kuprava</name>
+  </maintainer>
+  <upstream>
+    <bugs-to>https://github.com/anomalyco/opencode/issues</bugs-to>
+    <remote-id type="github">anomalyco/opencode</remote-id>
+  </upstream>
+</pkgmetadata>

diff --git a/dev-util/opencode-bin/opencode-bin-1.1.48.ebuild 
b/dev-util/opencode-bin/opencode-bin-1.1.48.ebuild
new file mode 100644
index 0000000000..98d0a7f932
--- /dev/null
+++ b/dev-util/opencode-bin/opencode-bin-1.1.48.ebuild
@@ -0,0 +1,22 @@
+# Copyright 2021-2025 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";
+
+GITHUB_BASE="https://github.com/anomalyco/opencode/releases/download/v${PV}";
+SRC_URI="https://github.com/anomalyco/opencode/releases/download/v${PV}/opencode-linux-x64.tar.gz
 -> ${P}-amd64.tar.gz"
+
+S="${WORKDIR}"
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+RESTRICT="mirror strip"
+
+QA_PREBUILT="usr/bin/opencode"
+
+src_install() {
+       dobin opencode
+}

Reply via email to