|
1 | 1 | class Zf < Formula |
2 | 2 | desc "Command-line fuzzy finder that prioritizes matches on filenames" |
3 | 3 | homepage "https://github.com/natecraddock/zf" |
| 4 | + url "https://github.com/natecraddock/zf/archive/refs/tags/0.10.3.tar.gz" |
| 5 | + sha256 "ae8f088dd25a10406e8f7a27d9ddc555d28d746950fd653f4cfe42ab0b903f58" |
4 | 6 | license "MIT" |
5 | 7 | head "https://github.com/natecraddock/zf.git", branch: "main" |
6 | 8 |
|
7 | | - stable do |
8 | | - url "https://github.com/natecraddock/zf/archive/refs/tags/0.10.2.tar.gz" |
9 | | - sha256 "b8e41f942c7033536fd64f9edea467a7ff4f45d52885d585f0adafb7803ac0ed" |
10 | | - |
11 | | - # Backport support for Zig 0.14.0 |
12 | | - patch do |
13 | | - url "https://github.com/natecraddock/zf/commit/ed99ca18b02dda052e20ba467e90b623c04690dd.patch?full_index=1" |
14 | | - sha256 "00d1dc4f178fb30bb8cb1e29a517f66f5672e2024a3aaa9413f16dcb4cbdb1b1" |
15 | | - end |
16 | | - patch do |
17 | | - url "https://github.com/natecraddock/zf/commit/03176fcf23fda543cc02a8675e92c1fe3b1ee2eb.patch?full_index=1" |
18 | | - sha256 "0c3be877327fe3a2258d9f9c43fa2f6d310e5b65aa2ab35bcc9262f05242d552" |
19 | | - end |
20 | | - end |
21 | | - |
22 | 9 | bottle do |
23 | | - sha256 cellar: :any_skip_relocation, arm64_tahoe: "c1b7c05de35a1d57833aff7309fbe7f05d98ad80686ab6233906a5c5e458c9f3" |
24 | | - sha256 cellar: :any_skip_relocation, arm64_sequoia: "ca18e30ed084337c77376f0af8b97d3f10bc3ccb20660f7d74c15644fbcae1e7" |
25 | | - sha256 cellar: :any_skip_relocation, arm64_sonoma: "7b45f360b6662b147c5adc50425ef87afac800c9aa2bdeab1f2f395614ab34b9" |
26 | | - sha256 cellar: :any_skip_relocation, arm64_ventura: "63025c662d67807c0f75b4df08c26b5af01c2e602d5438e2a08289b7ce8bb350" |
27 | | - sha256 cellar: :any_skip_relocation, sonoma: "468b27e2ac00706f31f56fb7ca8fe5aebd31ffa282aae0b21eb8ec487a77561b" |
28 | | - sha256 cellar: :any_skip_relocation, ventura: "d9c75c28e02b4c7cede59bcb1137c62cfd34801b9a06d11855f96f0080829756" |
29 | | - sha256 cellar: :any_skip_relocation, arm64_linux: "a1b7c26038caa3a4a85bd6eecda38bd3742864f92eaa01fb225802c28b317eab" |
30 | | - sha256 cellar: :any_skip_relocation, x86_64_linux: "a9bfaef19e583a5409511f21a9853c0c37d5ea0067782cce94a92ea791200c4b" |
| 10 | + sha256 cellar: :any_skip_relocation, arm64_tahoe: "f605e11345ec11c1b7a06ddb36aed7d62aed6de226427816760b5852f2d432ff" |
| 11 | + sha256 cellar: :any_skip_relocation, arm64_sequoia: "f697369a780a2b658a20061d85844fabedd36c4473a4b6898c7081399cc8339f" |
| 12 | + sha256 cellar: :any_skip_relocation, arm64_sonoma: "33bb84c18c4c908e3e1940c6ec5206eda1e840dce602b18d1f6d01fe69ffa206" |
| 13 | + sha256 cellar: :any_skip_relocation, sonoma: "460904b2df3f8cebf62efe86e5d9092a10f398837e22a40083fc63d54fd8211a" |
| 14 | + sha256 cellar: :any_skip_relocation, arm64_linux: "2a0c7534938199aea466bb7bc65e52a3504a01c76126d675daeb0ca1fb564be7" |
| 15 | + sha256 cellar: :any_skip_relocation, x86_64_linux: "28fadb3d696d45a2c3f1656a5a7e45ecb60054f3a201a6188e33762e1c5a562e" |
31 | 16 | end |
32 | 17 |
|
33 | | - depends_on "zig@0.14" => :build |
| 18 | + depends_on "zig" => :build |
34 | 19 |
|
35 | 20 | def install |
36 | | - # Undo version update from patch |
37 | | - inreplace "build.zig.zon", '"0.10.3"', "\"#{version}\"" if build.stable? |
38 | | - |
39 | 21 | system "zig", "build", *std_zig_args |
40 | 22 |
|
41 | 23 | man1.install "doc/zf.1" |
|
0 commit comments