summaryrefslogtreecommitdiff
path: root/dev-util/google-antigravity-cli/google-antigravity-cli-1.0.4.ebuild
blob: dfca1a582a7cfa42dfff99d89a9094ba0b9f9cbe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

EXECUTION_ID="6513644876464128"

MY_PN="${PN#google-}"
DESCRIPTION="Command-line interface for Google's Antigravity agentic development platform"
HOMEPAGE="https://antigravity.google/"
BASE_URI="https://storage.googleapis.com/antigravity-public/antigravity-cli/${PV}-${EXECUTION_ID}"
SRC_URI="
	amd64? ( ${BASE_URI}/linux-x64/cli_linux_x64.tar.gz -> ${P}_amd64.tar.gz )
	arm64? ( ${BASE_URI}/linux-arm/cli_linux_arm64.tar.gz -> ${P}_arm64.tar.gz )
"
S="${WORKDIR}"

LICENSE="all-rights-reserved"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
RESTRICT="bindist mirror strip"

QA_PREBUILT="*"

src_install() {
	local agy_home="/opt/google/${MY_PN}"

	exeinto "${agy_home}"
	doexe "antigravity"
	dosym "${agy_home}/antigravity" "/usr/bin/agy"
}