dev-util/gemini-cli: new package, add 0.1.9_pre20250709

Signed-off-by: Huang Rui <vowstar@gmail.com>
This commit is contained in:
Huang Rui
2025-07-09 15:35:49 +08:00
parent 30f243c579
commit 817e052fbf
3 changed files with 63 additions and 0 deletions

View File

@@ -0,0 +1,36 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
MY_TAG="v0.1.9-nightly.250709.c8cf954e"
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/${MY_TAG}/gemini.js -> ${P}.js"
S="${WORKDIR}"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
QA_PREBUILT="usr/lib64/node_modules/@google/gemini-cli/dist/*"
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
}