diff options
author | Lucio Sauer <watermanpaint@posteo.net> | 2024-09-02 22:40:57 +0200 |
---|---|---|
committer | Lucio Sauer <watermanpaint@posteo.net> | 2024-09-02 22:41:02 +0200 |
commit | 4cd726b8fd2eeff1d965c88c02966edf284a232e (patch) | |
tree | 8832df9386acf79c9c36faf02f2afaeddf0fcf3d /app-admin | |
parent | app-emulation/box64: Add QA checks (diff) | |
download | guru-4cd726b8fd2eeff1d965c88c02966edf284a232e.tar.gz guru-4cd726b8fd2eeff1d965c88c02966edf284a232e.tar.bz2 guru-4cd726b8fd2eeff1d965c88c02966edf284a232e.zip |
app-admin/talosctl-bin: add QA_PREBUILT
Fix formatting issues and variable order
Closes: https://bugs.gentoo.org/938917
Closes: https://bugs.gentoo.org/938916
Signed-off-by: Lucio Sauer <watermanpaint@posteo.net>
Diffstat (limited to 'app-admin')
-rw-r--r-- | app-admin/talosctl-bin/talosctl-bin-1.7.6.ebuild | 36 |
1 files changed, 20 insertions, 16 deletions
diff --git a/app-admin/talosctl-bin/talosctl-bin-1.7.6.ebuild b/app-admin/talosctl-bin/talosctl-bin-1.7.6.ebuild index b2b183927..686fb7523 100644 --- a/app-admin/talosctl-bin/talosctl-bin-1.7.6.ebuild +++ b/app-admin/talosctl-bin/talosctl-bin-1.7.6.ebuild @@ -5,27 +5,31 @@ EAPI="8" DESCRIPTION="Pre-compiled talosctl is an tool for interacting with the Talos API" HOMEPAGE="https://www.talos.dev/v1.7/" -S="${WORKDIR}" 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} ) " + +S="${WORKDIR}" + LICENSE="MPL-2.0" SLOT="0" KEYWORDS="~amd64 ~arm ~arm64" +QA_PREBUILT="usr/bin/talosctl" + src_install() { - if use arm; then - newbin "${DISTDIR}"/talosctl-armv7-v${PV} talosctl - fi - if use arm64; then - newbin "${DISTDIR}"/talosctl-arm64-v${PV} talosctl - fi - if use amd64; then - newbin "${DISTDIR}"/talosctl-amd64-v${PV} talosctl - fi + if use arm; then + newbin "${DISTDIR}"/talosctl-armv7-v${PV} talosctl + fi + if use arm64; then + newbin "${DISTDIR}"/talosctl-arm64-v${PV} talosctl + fi + if use amd64; then + newbin "${DISTDIR}"/talosctl-amd64-v${PV} talosctl + fi } |