# typed: false
# frozen_string_literal: true

# This file was generated by GoReleaser. DO NOT EDIT.
class Kflex < Formula
  desc ""
  homepage "https://github.com/kubestellar/kubeflex"
  version "0.9.1"

  on_macos do
    if Hardware::CPU.intel?
      url "https://github.com/kubestellar/kubeflex/releases/download/v0.9.1/kubeflex_0.9.1_darwin_amd64.tar.gz"
      sha256 "bf70cde4362de84737459a5e7da2aafeff973d6c7f6f617cd49f45fa8454a593"

      def install
        bin.install "bin/kflex"
      end
    end
    if Hardware::CPU.arm?
      url "https://github.com/kubestellar/kubeflex/releases/download/v0.9.1/kubeflex_0.9.1_darwin_arm64.tar.gz"
      sha256 "733b7a58cf453a70188da937bf41be3bc5e2acd17909a166791c6ec079af6fde"

      def install
        bin.install "bin/kflex"
      end
    end
  end

  on_linux do
    if Hardware::CPU.intel? && Hardware::CPU.is_64_bit?
      url "https://github.com/kubestellar/kubeflex/releases/download/v0.9.1/kubeflex_0.9.1_linux_amd64.tar.gz"
      sha256 "1ab5bf6e9b36b08ea6df24fc17891134bea37a9d7e64bbfc5ce4d2b1c0b80db0"
      def install
        bin.install "bin/kflex"
      end
    end
    if Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
      url "https://github.com/kubestellar/kubeflex/releases/download/v0.9.1/kubeflex_0.9.1_linux_arm64.tar.gz"
      sha256 "0f8750c9a3d9e103c324f49ca975c8faf8cd1d3e7a8538cac9c29e1764ecf2c7"
      def install
        bin.install "bin/kflex"
      end
    end
  end
end
