homebrew-cask/Casks/lrtimelapse.rb

32 lines
878 B
Ruby

cask "lrtimelapse" do
version "5.7.1"
sha256 "bc4ca77627745557cbc927518508ec044156fc03574a117fe3ddb27af66959af"
url "https://lrtimelapse.com/files/lrtimelapse-#{version.major}-mac/?version=#{version.dots_to_hyphens}"
name "LRTimelapse"
desc "Time lapse editing, keyframing, grading and rendering"
homepage "https://lrtimelapse.com/"
livecheck do
url "https://lrtimelapse.com/download/"
regex(/LRTimelapse[._-]?v?(\d+(?:\.\d+)+)[._-]mac\.dmg/i)
end
pkg "LRTimelapse #{version} Installer.pkg"
uninstall script: {
executable: "/usr/local/LRTimelapse/uninstall.sh",
input: "\n",
sudo: true,
},
pkgutil: [
"com.lrtimelapse.LRAddons",
"com.lrtimelapse.LRTimelapse#{version.major}",
"com.lrttimelapse.LRTTools",
]
caveats do
files_in_usr_local
end
end