12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- # typed: false
- # frozen_string_literal: true
- # This file was generated by GoReleaser. DO NOT EDIT.
- class Browsh < Formula
- desc "The modern, text-based browser"
- homepage "https://www.brow.sh"
- version "1.8.0"
- on_macos do
- if Hardware::CPU.arm?
- url "https://github.com/browsh-org/browsh/releases/download/v1.8.0/browsh_1.8.0_darwin_arm64.tar.gz"
- sha256 "5b42e7b039b7e98d4edc7ec7ec4146f9f790a965892e19b77b5bd2a17adc7932"
- def install
- bin.install "browsh"
- end
- end
- if Hardware::CPU.intel?
- url "https://github.com/browsh-org/browsh/releases/download/v1.8.0/browsh_1.8.0_darwin_amd64.tar.gz"
- sha256 "3d1ec4480610c931f4bf64b461ba0c71e21cdae192a86e46b8b763f8442fa63c"
- def install
- bin.install "browsh"
- end
- end
- end
- on_linux do
- if Hardware::CPU.intel?
- url "https://github.com/browsh-org/browsh/releases/download/v1.8.0/browsh_1.8.0_linux_amd64"
- sha256 "30a6b4e5220be088bce9b2416164eed7d3d8de76741e6a71d24a35b2fe6f1ae7"
- def install
- bin.install "browsh_1.8.0_linux_amd64" => "browsh"
- end
- end
- if Hardware::CPU.arm? && !Hardware::CPU.is_64_bit?
- url "https://github.com/browsh-org/browsh/releases/download/v1.8.0/browsh_1.8.0_linux_armv6"
- sha256 "e799299732d9ebc6885c27e483fe8c43d452f9052f09df1d674600cba5eb2177"
- def install
- bin.install "browsh_1.8.0_linux_armv6" => "browsh"
- end
- end
- if Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
- url "https://github.com/browsh-org/browsh/releases/download/v1.8.0/browsh_1.8.0_linux_arm64"
- sha256 "e5e3ed418e0930d0ec12394894269983f6e6da80ff60d03909e2e5c307971a99"
- def install
- bin.install "browsh_1.8.0_linux_arm64" => "browsh"
- end
- end
- end
- def caveats; <<~EOS
- You need Firefox 57 or newer to run Browsh
- EOS
- end
- end
|