dev-util/opencode-bin: new package

Signed-off-by: Timur Kuprava <kupravagoodman@proton.me>
This commit is contained in:
Timur Kuprava
2026-02-01 14:29:12 +03:00
parent d3d6858077
commit 563c5b1fdf
3 changed files with 35 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST opencode-bin-1.1.48-amd64.tar.gz 51797370 BLAKE2B a183755181acb33efd9a7d54ee4934012b7705fd37aeba24328f70f9833073a69c94228d82b0e5d5788f9854d5fefc79ea5c547a5f71780cf030d1fc1a498f7f SHA512 bb92874d860ffc5c6f9a28091a6a1e638f2b09761623df247e872f388756cd88e3246afa36dab3970fdf25a6f611ccb1c3580e14b0b0999f407daf54442901d0

View File

@@ -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>kupravagoodman@proton.me</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>

View File

@@ -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
}