Skip to content

Commit 01e6f1f

Browse files
BrewTestBotdaeho-ro
authored andcommitted
zf 0.10.3
1 parent 1ac69ae commit 01e6f1f

File tree

1 file changed

+3
-19
lines changed

1 file changed

+3
-19
lines changed

Formula/z/zf.rb

Lines changed: 3 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,11 @@
11
class Zf < Formula
22
desc "Command-line fuzzy finder that prioritizes matches on filenames"
33
homepage "https://github.com/natecraddock/zf"
4+
url "https://github.com/natecraddock/zf/archive/refs/tags/0.10.3.tar.gz"
5+
sha256 "ae8f088dd25a10406e8f7a27d9ddc555d28d746950fd653f4cfe42ab0b903f58"
46
license "MIT"
57
head "https://github.com/natecraddock/zf.git", branch: "main"
68

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-
229
bottle do
2310
sha256 cellar: :any_skip_relocation, arm64_tahoe: "c1b7c05de35a1d57833aff7309fbe7f05d98ad80686ab6233906a5c5e458c9f3"
2411
sha256 cellar: :any_skip_relocation, arm64_sequoia: "ca18e30ed084337c77376f0af8b97d3f10bc3ccb20660f7d74c15644fbcae1e7"
@@ -30,12 +17,9 @@ class Zf < Formula
3017
sha256 cellar: :any_skip_relocation, x86_64_linux: "a9bfaef19e583a5409511f21a9853c0c37d5ea0067782cce94a92ea791200c4b"
3118
end
3219

33-
depends_on "zig@0.14" => :build
20+
depends_on "zig" => :build
3421

3522
def install
36-
# Undo version update from patch
37-
inreplace "build.zig.zon", '"0.10.3"', "\"#{version}\"" if build.stable?
38-
3923
system "zig", "build", *std_zig_args
4024

4125
man1.install "doc/zf.1"

0 commit comments

Comments
 (0)