mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-13 00:53:02 -04:00
34 lines
623 B
Bash
34 lines
623 B
Bash
# Copyright 1999-2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
DESCRIPTION="Gemini CLI - a command-line AI workflow tool by Google"
|
|
HOMEPAGE="https://github.com/google-gemini/gemini-cli"
|
|
SRC_URI="https://github.com/google-gemini/gemini-cli/releases/download/v${PV}/gemini.js -> ${P}.js"
|
|
S="${WORKDIR}"
|
|
|
|
LICENSE="Apache-2.0"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64"
|
|
|
|
RESTRICT="strip"
|
|
|
|
RDEPEND="
|
|
>=net-libs/nodejs-20
|
|
"
|
|
|
|
src_unpack() {
|
|
# npm installs the tarball directly
|
|
:
|
|
}
|
|
|
|
src_compile() {
|
|
# Skip, nothing to compile here.
|
|
:
|
|
}
|
|
|
|
src_install() {
|
|
newbin "${DISTDIR}/${P}.js" gemini
|
|
}
|