cask "apache-couchdb" do arch arm: "arm64", intel: "x86_64" version "3.4.2" sha256 arm: "74941d03b3f536d216f556effce701c1881507b2a167f5574379545d3efa43b1", intel: "655cd38994c83cd757270542997674dd5f18aa2bdab83f9bfd9fe89d0a0df2bc" url "https://couchdbneighbourhoodie.fra1.digitaloceanspaces.com/downloads/#{version}/mac/#{arch}/Apache-CouchDB.zip", verified: "couchdbneighbourhoodie.fra1.digitaloceanspaces.com/" name "Apache CouchDB" desc "Multi-master syncing database" homepage "https://couchdb.apache.org/" livecheck do url "https://neighbourhood.ie/download-apache-couchdb-mac/" regex(%r{href=.*?/(\d+(?:[.-]\d+)*)/mac/(arm64|x86_64)/Apache-CouchDB\.zip}i) end # see https://neighbourhood.ie/download-apache-couchdb-mac/ depends_on macos: ">= :ventura" app "Apache CouchDB.app" zap trash: [ "~/Library/Application Support/CouchDB", "~/Library/Caches/org.apache.couchdb", "~/Library/Logs/couchdb.log", "~/Library/Logs/couchdb.log.old", "~/Library/Preferences/org.apache.couchdb.plist", ] end