1
0
mirror of https://github.com/gryf/gryf-overlay.git synced 2026-03-19 18:53:33 +01:00

Added opencode newest version

This commit is contained in:
2026-03-18 17:38:15 +01:00
parent 60bfdf4861
commit 802eab519f
2 changed files with 23 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
# 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="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
}