Files
homebrew-cask/Casks/d/droplr.rb
Mike McQuaid aa461148bb Move all remaining casks to sharded subdirectories.
The migration of `orka.rb` and then `o*.rb` has worked well without
complaint so: let's move everything else, too.
2023-08-09 12:08:38 +01:00

27 lines
781 B
Ruby

cask "droplr" do
version "5.9.19,478"
sha256 "d2d0741f7caad6bae1d9db9a97f09d21fc2086c3d1155c3427542842b8ab9402"
url "https://files.droplr.com/apps/mac/Droplr#{version.csv.first.no_dots}-#{version.csv.second}.zip"
name "Droplr"
desc "Screenshot and screen recorder"
homepage "https://droplr.com/"
livecheck do
url "https://files.droplr.com/apps/mac-current"
regex(%r{/Droplr(\d)(\d)(\d+)-(\d+)\.zip}i)
strategy :header_match do |headers, regex|
headers["location"].scan(regex).map do |match|
"#{match[0]}.#{match[1]}.#{match[2]},#{match[3]}"
end
end
end
auto_updates true
depends_on macos: ">= :sierra"
pkg "Droplr#{version.csv.first.no_dots}-#{version.csv.second}.pkg"
uninstall pkgutil: "com.droplr.droplr-mac"
end