excalidrawz 1.2.5
[Homebrew/homebrew-cask.git] / Casks / a / apache-directory-studio.rb
blob8bab2e1e5fe243abcb353369c808f6a29a63effa
1 cask "apache-directory-studio" do
2   version "2.0.0.v20210717-M17"
3   sha256 "1f024ed122256ec69cc148ff628ed3103f47e95d3cdd0b66ed806afcc68d29ec"
5   url "https://www.apache.org/dyn/closer.lua?path=directory/studio/#{version}/ApacheDirectoryStudio-#{version}-macosx.cocoa.x86_64.dmg"
6   name "Apache Directory Studio"
7   desc "Eclipse-based LDAP browser and directory client"
8   homepage "https://directory.apache.org/studio/"
10   livecheck do
11     url :url
12     regex(%r{href=["']?v?(\d+(?:\.\d+)+[^/]*?)/?["' >]}i)
13   end
15   app "ApacheDirectoryStudio.app"
17   zap trash: "~/.ApacheDirectoryStudio"
19   caveats do
20     depends_on_java "11+"
21     requires_rosetta
22     <<~EOS
23       To set the Java VM to use:
25         https://directory.apache.org/studio/faqs.html#how-to-set-the-java-vm-to-use
26     EOS
27   end
28 end