|
1 | 1 | class ZshSyntaxHighlighting < Formula
|
2 | 2 | desc "Fish shell like syntax highlighting for zsh"
|
3 | 3 | homepage "https://github.com/zsh-users/zsh-syntax-highlighting"
|
4 |
| - url "https://github.com/zsh-users/zsh-syntax-highlighting.git", |
5 |
| - tag: "0.8.0", |
6 |
| - revision: "db085e4661f6aafd24e5acb5b2e17e4dd5dddf3e" |
| 4 | + url "https://github.com/zsh-users/zsh-syntax-highlighting/archive/refs/tags/0.8.0.tar.gz" |
| 5 | + sha256 "5981c19ebaab027e356fe1ee5284f7a021b89d4405cc53dc84b476c3aee9cc32" |
7 | 6 | license "BSD-3-Clause"
|
8 | 7 | head "https://github.com/zsh-users/zsh-syntax-highlighting.git", branch: "master"
|
9 | 8 |
|
10 | 9 | bottle do
|
11 |
| - sha256 cellar: :any_skip_relocation, arm64_sonoma: "603dabae4003cd3d95ab7f872a7fd9944e67cf0d963ffe42a07c8f3c191211ea" |
12 |
| - sha256 cellar: :any_skip_relocation, arm64_ventura: "603dabae4003cd3d95ab7f872a7fd9944e67cf0d963ffe42a07c8f3c191211ea" |
13 |
| - sha256 cellar: :any_skip_relocation, arm64_monterey: "603dabae4003cd3d95ab7f872a7fd9944e67cf0d963ffe42a07c8f3c191211ea" |
14 |
| - sha256 cellar: :any_skip_relocation, sonoma: "78a5770992ca645e5271e2a2b9aef6d99502ff99bace3a7470020b8dc34fcb4d" |
15 |
| - sha256 cellar: :any_skip_relocation, ventura: "78a5770992ca645e5271e2a2b9aef6d99502ff99bace3a7470020b8dc34fcb4d" |
16 |
| - sha256 cellar: :any_skip_relocation, monterey: "78a5770992ca645e5271e2a2b9aef6d99502ff99bace3a7470020b8dc34fcb4d" |
17 |
| - sha256 cellar: :any_skip_relocation, x86_64_linux: "603dabae4003cd3d95ab7f872a7fd9944e67cf0d963ffe42a07c8f3c191211ea" |
| 10 | + rebuild 1 |
| 11 | + sha256 cellar: :any_skip_relocation, all: "3cfaa693dab68d9a576ad1ad0a018e12b250a057963263733f6fcc9b4c4ce8a6" |
18 | 12 | end
|
19 | 13 |
|
20 | 14 | uses_from_macos "zsh" => [:build, :test]
|
21 | 15 |
|
22 | 16 | def install
|
| 17 | + # Make the bottles uniform (modifying a comment with /usr/local path) |
| 18 | + inreplace "highlighters/main/main-highlighter.zsh", "/usr/local/bin", "#{HOMEBREW_PREFIX}/bin" |
| 19 | + |
23 | 20 | system "make", "install", "PREFIX=#{prefix}"
|
24 | 21 | end
|
25 | 22 |
|
|
0 commit comments