Update kdiff3.rb
This commit is contained in:
parent
7db85ca89d
commit
5fcf228881
|
@ -1,16 +1,19 @@
|
||||||
cask "kdiff3" do
|
cask "kdiff3" do
|
||||||
# NOTE: "3" is not a version number, but an intrinsic part of the product name
|
# NOTE: "3" is not a version number, but an intrinsic part of the product name
|
||||||
version "1.11.0"
|
arch arm: "arm64", intel: "x86_64"
|
||||||
sha256 "4d59c5a21d688dc2b6f5fa1cffee38e400acd1123f7e3f2937309865bb31cd92"
|
|
||||||
|
|
||||||
url "https://download.kde.org/stable/kdiff3/kdiff3-#{version}-macos-x86_64.dmg"
|
version "1.11.0"
|
||||||
|
sha256 arm: "314ac39c881b9fb53da37b90df247802f04527ce5219a6b3dc2841152a4b55e4",
|
||||||
|
intel: "4d59c5a21d688dc2b6f5fa1cffee38e400acd1123f7e3f2937309865bb31cd92"
|
||||||
|
|
||||||
|
url "https://download.kde.org/stable/kdiff3/kdiff3-#{version}-macos-#{arch}.dmg"
|
||||||
name "KDiff3"
|
name "KDiff3"
|
||||||
desc "Utility for comparing and merging files and directories"
|
desc "Utility for comparing and merging files and directories"
|
||||||
homepage "https://invent.kde.org/sdk/kdiff3"
|
homepage "https://invent.kde.org/sdk/kdiff3"
|
||||||
|
|
||||||
livecheck do
|
livecheck do
|
||||||
url "https://download.kde.org/stable/kdiff3/"
|
url "https://download.kde.org/stable/kdiff3/"
|
||||||
regex(/href=["']?kdiff3[._-]v?(\d+(?:\.\d+)+)[._-]macos[._-]x86_64\.dmg/i)
|
regex(/href=["']?kdiff3[._-]v?(\d+(?:\.\d+)+)[._-]macos[._-]#{arch}\.dmg/i)
|
||||||
end
|
end
|
||||||
|
|
||||||
app "kdiff3.app"
|
app "kdiff3.app"
|
||||||
|
|
Loading…
Reference in New Issue