forked from neosapience/homebrew-tap
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcast.rb
More file actions
46 lines (41 loc) · 1.44 KB
/
Copy pathcast.rb
File metadata and controls
46 lines (41 loc) · 1.44 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
class Cast < Formula
desc "Typecast Text-to-Speech CLI"
homepage "https://github.com/neosapience/cast"
version "1.0.5"
license "MIT"
on_macos do
if Hardware::CPU.intel?
url "https://github.com/neosapience/cast/releases/download/v1.0.5/cast_darwin_amd64.tar.gz"
sha256 "4ec9c883341e89672248a0da572a686ae40c2be0c10cef78c1b6e6ff12843c8c"
define_method(:install) do
bin.install "cast"
end
end
if Hardware::CPU.arm?
url "https://github.com/neosapience/cast/releases/download/v1.0.5/cast_darwin_arm64.tar.gz"
sha256 "98c06bf1eb544e78e206b723e2f018355e4cdfda8fa0293b3f84083abc419b07"
define_method(:install) do
bin.install "cast"
end
end
end
on_linux do
if Hardware::CPU.intel? && Hardware::CPU.is_64_bit?
url "https://github.com/neosapience/cast/releases/download/v1.0.5/cast_linux_amd64.tar.gz"
sha256 "4ebbd593fa70c420080214ee6d4fac10102214eda52df9ebcba8ae04ba1ae42a"
define_method(:install) do
bin.install "cast"
end
end
if Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
url "https://github.com/neosapience/cast/releases/download/v1.0.5/cast_linux_arm64.tar.gz"
sha256 "af5647617e8904f1e611716202e5ef0dbaafe5ebc3637be5530ad4390da0a8e8"
define_method(:install) do
bin.install "cast"
end
end
end
end