homebrew-cask/Casks/lrtimelapse.rb

32 lines
919 B
Ruby

cask "lrtimelapse" do
version "6.3.0"
sha256 "08487fd9d6d583c7a06434d0e3aebcf3f5a4d14c417af89c256fbbcf9e04a2dc"
url "https://lrtimelapse.com/files/lrtimelapse-#{version.major}-beta-mac-arm-silicon/?version=#{version}"
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