app-admin/talosctl-bin: update SRC_URI

Signed-off-by: Skyler Mäntysaari <sm+git@skym.fi>
This commit is contained in:
Skyler Mäntysaari
2024-09-01 15:51:49 +03:00
parent 72a26ce346
commit a579ebe6c2

View File

@@ -5,15 +5,18 @@ EAPI="8"
DESCRIPTION="Pre-compiled talosctl is an tool for interacting with the Talos API"
HOMEPAGE="https://www.talos.dev/v1.7/"
SLOT="0"
S="${WORKDIR}"
SLOT="0"
LICENSE="MPL-2.0"
KEYWORDS="~amd64 ~arm ~arm64"
SRC_URI="
amd64? ( https://github.com/siderolabs/talos/releases/download/v${PV}/talosctl-linux-amd64 -> talosctl-amd64-v${PV} )
arm64? ( https://github.com/siderolabs/talos/releases/download/v${PV}/talosctl-linux-arm64 -> talosctl-arm64-v${PV} )
arm? ( https://github.com/siderolabs/talos/releases/download/v${PV}/talosctl-linux-armv7 -> talosctl-armv7-v${PV} )
amd64? ( https://github.com/siderolabs/talos/releases/download/v${PV}/talosctl-linux-amd64 ->
talosctl-amd64-v${PV} )
arm64? ( https://github.com/siderolabs/talos/releases/download/v${PV}/talosctl-linux-arm64 ->
talosctl-arm64-v${PV} )
arm? ( https://github.com/siderolabs/talos/releases/download/v${PV}/talosctl-linux-armv7 ->
talosctl-armv7-v${PV} )
"
KEYWORDS="~amd64 ~arm ~arm64"
src_install() {
if use arm; then