p4: style fixes

This commit is contained in:
Justin Krehel
2024-01-05 13:58:46 -05:00
parent a5fb916170
commit 775dfeb150
+6 -16
View File
@@ -1,23 +1,11 @@
cask "p4" do
arch arm: "arm64", intel: "x86_64"
arch arm: "12arm64", intel: "1015x86_64"
version "2023.2,2535420"
sha256 arm: "00264b87bf4ebb26286bc089fc0686d913d921b9b39bc67bf436af3702ac18b1",
intel: "8a24804e48247104a1e59e99620e57bbe456018fef84b2dff911175908057017"
on_arm do
sha256 "00264b87bf4ebb26286bc089fc0686d913d921b9b39bc67bf436af3702ac18b1"
url "https://filehost.perforce.com/perforce/r#{version.major[-2..]}.#{version.minor}/bin.macosx12#{arch}/p4"
binary "bin.macosx12#{arch}", target: "p4"
end
on_intel do
sha256 "8a24804e48247104a1e59e99620e57bbe456018fef84b2dff911175908057017"
url "https://filehost.perforce.com/perforce/r#{version.major[-2..]}.#{version.minor}/bin.macosx1015#{arch}/p4"
binary "bin.macosx1015#{arch}", target: "p4"
end
url "https://filehost.perforce.com/perforce/r#{version.major[-2..]}.#{version.minor}/bin.macosx#{arch}/p4"
name "Perforce Helix Command-Line Client (P4)"
desc "Use it to gain instant access to operations and complete control over the system"
homepage "https://www.perforce.com/products/helix-core-apps/command-line-client"
@@ -34,5 +22,7 @@ cask "p4" do
depends_on macos: ">= :sierra"
container type: :naked
binary "bin.macosx#{arch}", target: "p4"
# No zap stanza required
end