diff --git a/app-admin/google-cloud-cli-bin/Manifest b/app-admin/google-cloud-cli-bin/Manifest index d54f62b..70ceb0a 100644 --- a/app-admin/google-cloud-cli-bin/Manifest +++ b/app-admin/google-cloud-cli-bin/Manifest @@ -2,3 +2,5 @@ DIST google-cloud-cli-494.0.0-linux-arm.tar.gz 53469421 BLAKE2B 295443313a6b5114 DIST google-cloud-cli-494.0.0-linux-x86_64.tar.gz 131247110 BLAKE2B 230594d774874b9376ad21072a46846488c05717155dba09eaf0f4b2121ed917df98652822690eca8a9fc2b1ea87301a82913d2539cca70bb41b3225f923d874 SHA512 cc9757dc5f080876c3cd56889f2d77cd9e499e2276e15f302f03b2cd784719dd2bedb14f193a8f5c38e291f8c6df8939ff085b7ee1b98775cb5268269b55975f DIST google-cloud-cli-495.0.0-linux-arm.tar.gz 53523409 BLAKE2B 1b204f55bd9405ec5903a455ed02b590a75b82f1bd9d96b8a348e0c1d1d5414941d154ddadfffee2d8c6006620d6d97430083009a475677c2b5c51448eb20eeb SHA512 6590f4901158590b7f3ccdbf3b9b15cd2c8f2d0ec26be8810e827ffa28010e1d3df04ee470d2ad5f34d658fc5f0f061b1bf9bcfb1dba7bbd501a81a449780994 DIST google-cloud-cli-495.0.0-linux-x86_64.tar.gz 131285955 BLAKE2B be9a10c22dc597ae37403487ff7a2bb1ebb53ff187fba840bee04cdaf747737b24673dc585beb01756878a0cb13e8ecb7480d67d044e726444a958b54457d1ab SHA512 c9abf247055db641b27360630e55cca9d7af8f1ef78e9790401de9e0977f11692427309959491f3cd4413d2561335c6cec0e19d32226bf44706080efaa5f32d9 +DIST google-cloud-cli-496.0.0-linux-arm.tar.gz 53616337 BLAKE2B c121c53727183aadb0cbe604d2f2efc80e6e32bf982474fcb8be949485887955e599ab6e9e3674d1c5478546c7abc0234182c538788bcd41eaf22d40e8e17369 SHA512 aec7bd284b10d7b390251659b68854a5421233716768b4407a479143e0dff22dabccf3175896c1cfb7ab7eb60182fc56a43dc3d39f7c590d0a6ee1d0c68015f1 +DIST google-cloud-cli-496.0.0-linux-x86_64.tar.gz 131382428 BLAKE2B 7141c6e25fe1056c56ae47f128c02989c0e13020b7ea443149a1d5c5034910d355dd79b43e6a2137ca652def10df5c9bb7837a4b34d19b837ad20d55b2fb15aa SHA512 1c7b4664d2dbf64961261af47427a25df15e7259fd7b8cafa3fa7c2dd8ff8fe4479a666be38beafc6bf01210b50e1a16d0eea260e5b1aed099405d2d69fb9266 diff --git a/app-admin/google-cloud-cli-bin/google-cloud-cli-bin-496.0.0.ebuild b/app-admin/google-cloud-cli-bin/google-cloud-cli-bin-496.0.0.ebuild new file mode 100644 index 0000000..047bd52 --- /dev/null +++ b/app-admin/google-cloud-cli-bin/google-cloud-cli-bin-496.0.0.ebuild @@ -0,0 +1,34 @@ +# Copyright 2020-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Interact with the Google Cloud Platform" +HOMEPAGE="https://cloud.google.com/cli" +SITE="https://dl.google.com/dl/cloudsdk/channels/rapid/downloads" +SRC_URI=" +amd64? ( ${SITE}/google-cloud-cli-${PV}-linux-x86_64.tar.gz ) +arm64? ( ${SITE}/google-cloud-cli-${PV}-linux-arm.tar.gz ) +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="amd64 arm64 arm" + +QA_PREBUILT=" +google-cloud-sdk/bin/anothoscli +google-cloud-sdk/bin/gcloud-crc32c +" +RESTRICT="bindist mirror" +S="${WORKDIR}" + +src_install() { + mkdir -p "${D}/opt/google-cloud-sdk" + cp -r "${S}/google-cloud-sdk/"* "${D}/opt/google-cloud-sdk" || die "Install failed!" + + dosym "${D}/opt/google-cloud-sdk/bin/gcloud" /usr/bin/gcloud + dosym "${D}/opt/google-cloud-sdk/bin/gsutil" /usr/bin/gsutil + + chmod 4755 "${D}/opt/google-cloud-sdk/bin/gsutil" + chmod 4755 "${D}/opt/google-cloud-sdk/bin/gcloud" +}