Skip to content

Commit

Permalink
Add cask formula for dvrescue-gui
Browse files Browse the repository at this point in the history
Signed-off-by: Maxime Gervais <[email protected]>
  • Loading branch information
g-maxime committed Jun 22, 2023
1 parent 8ae2fd9 commit 1191fbe
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions Casks/dvrescue-gui.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
cask "dvrescue-gui" do
version "22.12"
sha256 "a4ba0e4e91e1159b845b4d591ddf4d333fa4dd14ad72ee32f809fcd3a44159f1"

url "https://mediaarea.net/download/binary/dvrescue-gui/#{version}/dvrescue_GUI_#{version}_Mac.dmg"
name "DV Rescue"
desc "Capture, analyze, and package DV for archival preservation"
homepage "https://mediaarea.net/DVRescue"

livecheck do
url "https://mediaarea.net/DVRescue/Download/Mac_OS"
regex(/href=.*?dvrescue_GUI_(\d+(?:\.\d+)+)_Mac\.dmg/i)
end

depends_on macos: ">= :high_sierra"

app "DVRescue.app"

zap trash: [
"~/Library/Caches/dvrescue",
"~/Library/Preferences/net.mediaarea.dvrescue-gui.mac.plist",
"~/Library/Saved Application State/net.mediaarea.dvrescue-gui.mac.savedState",
]
end

0 comments on commit 1191fbe

Please sign in to comment.