-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpapercut.rb
51 lines (44 loc) · 1.52 KB
/
papercut.rb
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
47
48
49
50
51
# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
class Papercut < Formula
desc ""
homepage "https://github.com/lehigh-university-libraries/papercut"
version "0.4.4"
on_macos do
if Hardware::CPU.intel?
url "https://github.com/lehigh-university-libraries/papercut/releases/download/0.4.4/papercut_Darwin_x86_64.tar.gz"
sha256 "812c6540e665b7f3e5b01996e94bb34d394724dd3336f2bdb9923c6368dbfb32"
def install
bin.install "papercut"
end
end
if Hardware::CPU.arm?
url "https://github.com/lehigh-university-libraries/papercut/releases/download/0.4.4/papercut_Darwin_arm64.tar.gz"
sha256 "e64dd0ea13a135750dd4a3b00042a5c6dbf6a9d498c4bc729edb6e7addb186cf"
def install
bin.install "papercut"
end
end
end
on_linux do
if Hardware::CPU.intel?
if Hardware::CPU.is_64_bit?
url "https://github.com/lehigh-university-libraries/papercut/releases/download/0.4.4/papercut_Linux_x86_64.tar.gz"
sha256 "d8e489b0f2c2663a6a30411a1fc860fb1287d51ce9ccdc5b08445f7b1089b543"
def install
bin.install "papercut"
end
end
end
if Hardware::CPU.arm?
if Hardware::CPU.is_64_bit?
url "https://github.com/lehigh-university-libraries/papercut/releases/download/0.4.4/papercut_Linux_arm64.tar.gz"
sha256 "2faa6c872f4f3891af7890d88538ed137d8cca92ff2161848b9d162e84af5ad9"
def install
bin.install "papercut"
end
end
end
end
end