# typed: false # frozen_string_literal: true # This file was generated by GoReleaser. DO NOT EDIT. class Ah < Formula desc "Artifact Hub command line tool" homepage "https://github.com/artifacthub/hub" version "1.21.0" license "Apache-2.0" on_macos do if Hardware::CPU.intel? url "https://github.com/artifacthub/hub/releases/download/v1.21.0/ah_1.21.0_macos_amd64.tar.gz" sha256 "c34873b98390a639271921e6ffd753b2cb78ddfb20372a17d980726b48a5f8b4" def install bin.install "ah" end end if Hardware::CPU.arm? url "https://github.com/artifacthub/hub/releases/download/v1.21.0/ah_1.21.0_macos_arm64.tar.gz" sha256 "2f831571b1343a3d07656fa950f9d20d671e4428740656e32334734be32612e8" def install bin.install "ah" end end end on_linux do if Hardware::CPU.intel? if Hardware::CPU.is_64_bit? url "https://github.com/artifacthub/hub/releases/download/v1.21.0/ah_1.21.0_linux_amd64.tar.gz" sha256 "48d6b87b60baf4ee8fd5efbfec3bf5fb3ca783ab3f1dab625e64332b95df2a84" def install bin.install "ah" end end end if Hardware::CPU.arm? if Hardware::CPU.is_64_bit? url "https://github.com/artifacthub/hub/releases/download/v1.21.0/ah_1.21.0_linux_arm64.tar.gz" sha256 "c592647d75dbf997bc7dd1a2dee9c7c015a2b7224bcdc0f6556927fd7f366d1c" def install bin.install "ah" end end end end end