mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-11-05 15:20:48 -05:00
30 lines
707 B
Bash
30 lines
707 B
Bash
# Copyright 1999-2026 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
MY_PV="${PV/_pre/-preview}"
|
|
MY_PV="${MY_PV/preview[0-9]*/preview.${MY_PV##*preview}}"
|
|
|
|
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${MY_PV}/gemini-cli-bundle.zip -> ${P}.zip"
|
|
S="${WORKDIR}"
|
|
|
|
LICENSE="Apache-2.0"
|
|
SLOT="0"
|
|
KEYWORDS="-* ~amd64 ~arm64"
|
|
|
|
BDEPEND="app-arch/unzip"
|
|
RDEPEND="
|
|
net-libs/nodejs
|
|
"
|
|
|
|
src_install() {
|
|
insinto /usr/lib/${PN}
|
|
doins -r .
|
|
|
|
fperms +x /usr/lib/${PN}/gemini.js
|
|
dosym ../lib/${PN}/gemini.js /usr/bin/gemini
|
|
}
|