34 lines
970 B
Ruby
34 lines
970 B
Ruby
cask "lrtimelapse" do
|
|
version "6.5.2"
|
|
sha256 "a3ce7bf99621942d6fbdc3b0081b42f504b05a69c6830237456ba758dd3fc911"
|
|
|
|
url "https://lrtimelapse.com/files/lrtimelapse-#{version.major}-mac-universal/?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",
|
|
]
|
|
|
|
zap trash: "~/Library/Application Support/LRTimelapse"
|
|
|
|
caveats do
|
|
files_in_usr_local
|
|
end
|
|
end
|