-
-
Notifications
You must be signed in to change notification settings - Fork 12.7k
/
Copy pathexomizer.rb
35 lines (30 loc) · 1.21 KB
/
exomizer.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
class Exomizer < Formula
desc "6502 compressor with CBM PET 4032 support"
homepage "https://bitbucket.org/magli143/exomizer/wiki/Home"
url "https://bitbucket.org/magli143/exomizer/wiki/downloads/exomizer-3.0.2.zip"
sha256 "cf94a2d9e66c104489846bb703c497aab8146ac4a54964def01692d418b16075"
livecheck do
url "https://bitbucket.org/magli143/exomizer/wiki/browse/downloads/"
regex(/href=.*?exomizer[._-]v?(\d+(?:\.\d+)+)\.zip/i)
end
bottle do
cellar :any_skip_relocation
sha256 "3c8e7724f8ff5820c2233f91797f34333a9eefcb9c1520db2dcffb4a05cea833" => :big_sur
sha256 "b298240aec4d77e212b57666ef51ca125127da3ac5185166c6c96495e217358c" => :catalina
sha256 "653ce86b30882fae1deae16bbf40b50f9b46b7f4f3f51e1952a988121e4fd5dc" => :mojave
sha256 "46b2f9b190847344ab7a16c94eb4b2bad48009a8f08e5463427af75c9eb67409" => :high_sierra
sha256 "6c6389b18ce3be2c7ffdb919e79273ecc8e26b9067bd06b29474d37c9e162e83" => :sierra
end
# custom license
disable! date: "2020-12-24", because: "custom license"
def install
cd "src" do
system "make"
bin.install %w[exobasic exomizer]
end
end
test do
output = shell_output(bin/"exomizer -v")
assert_match version.to_s, output
end
end