Files
guru/dev-util/opencode-bin/opencode-bin-1.1.48.ebuild
Timur Kuprava da3a4441c5 dev-util/opencode-bin: fix ebuild
Signed-off-by: Timur Kuprava <kupravagoodman@proton.me>
2026-02-01 21:53:06 +03:00

22 lines
456 B
Bash

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