homebrew-cask/Casks/h/hdfview.rb

31 lines
759 B
Ruby

cask "hdfview" do
version "3.3.2"
sha256 "40d111afc43fe9f1138692d1fb40c1330ea4f4416a2163e5dc4b4c398fb779bf"
url "https://github.com/HDFGroup/hdfview/releases/download/v#{version}/HDFView-#{version}-Darwin.tar.gz",
verified: "github.com/HDFGroup/hdfview/"
name "HDFView"
desc "Tool for browsing and editing HDF files"
homepage "https://www.hdfgroup.org/downloads/hdfview/"
livecheck do
url :url
strategy :github_latest
end
depends_on macos: ">= :el_capitan"
container nested: "HDFView-#{version}.dmg"
app "HDFView.app"
zap trash: [
"~/.hdfview*",
"~/Library/Preferences/HDFView.hdfgroup.org.plist",
"~/Library/Saved Application State/hdf.view.savedState",
]
caveats do
requires_rosetta
end
end