excalidrawz 1.2.5
[Homebrew/homebrew-cask.git] / Casks / a / apache-couchdb.rb
blob42dd70cc23e16eabe1e09456c2d4dc0ea1c08750
1 cask "apache-couchdb" do
2   arch arm: "arm64", intel: "x86_64"
4   version "3.4.2"
5   sha256 arm:   "74941d03b3f536d216f556effce701c1881507b2a167f5574379545d3efa43b1",
6          intel: "655cd38994c83cd757270542997674dd5f18aa2bdab83f9bfd9fe89d0a0df2bc"
8   url "https://couchdbneighbourhoodie.fra1.digitaloceanspaces.com/downloads/#{version}/mac/#{arch}/Apache-CouchDB.zip",
9       verified: "couchdbneighbourhoodie.fra1.digitaloceanspaces.com/"
10   name "Apache CouchDB"
11   desc "Multi-master syncing database"
12   homepage "https://couchdb.apache.org/"
14   livecheck do
15     url "https://neighbourhood.ie/download-apache-couchdb-mac/"
16     regex(%r{href=.*?/(\d+(?:[.-]\d+)*)/mac/(arm64|x86_64)/Apache-CouchDB\.zip}i)
17   end
19   # see https://neighbourhood.ie/download-apache-couchdb-mac/
20   depends_on macos: ">= :ventura"
22   app "Apache CouchDB.app"
24   zap trash: [
25     "~/Library/Application Support/CouchDB",
26     "~/Library/Caches/org.apache.couchdb",
27     "~/Library/Logs/couchdb.log",
28     "~/Library/Logs/couchdb.log.old",
29     "~/Library/Preferences/org.apache.couchdb.plist",
30   ]
31 end