homebrew-cask/Casks/p/pgadmin3.rb

26 lines
844 B
Ruby

cask "pgadmin3" do
# NOTE: "3" is not a version number, but indicates a different vendor
version "1.22.2"
sha256 "35a140e5a15d2acbdd981819c6f891ad197af520914a26964920424621fe5c31"
url "https://ftp.postgresql.org/pub/pgadmin/pgadmin3/v#{version}/osx/pgadmin3-#{version}.dmg",
verified: "ftp.postgresql.org/pub/pgadmin/pgadmin3/"
name "pgAdmin"
desc "Administration and development platform for PostgreSQL"
homepage "https://www.pgadmin.org/"
livecheck do
url "https://pgadmin-archive.postgresql.org/pgadmin3/index.html"
regex(%r{href=["']?v?(\d+(?:\.\d+)+)(?:/index.html)/?["' >]}i)
end
deprecate! date: "2025-05-01", because: :unsigned
app "pgAdmin3.app"
zap trash: [
"~/Library/Preferences/pgadmin3 Preferences",
"~/Library/Saved Application State/org.postgresql.pgadmin.savedState",
]
end