homebrew-cask/Casks/pgadmin3.rb

21 lines
720 B
Ruby
Raw Normal View History

2015-12-18 09:15:28 +08:00
cask 'pgadmin3' do
# note: "3" is not a version number, but indicates a different vendor
2016-01-10 06:18:15 +08:00
version '1.22.0'
sha256 'b2819efad4f835ee48251a330f43fd701cf2c45d895de01cb809b5931fc162b6'
2015-01-18 10:16:18 +08:00
# postgresql.org is the official download host per the vendor homepage
2015-06-29 14:32:18 +08:00
url "https://ftp.postgresql.org/pub/pgadmin3/release/v#{version}/osx/pgadmin3-#{version}.dmg"
2014-12-20 23:21:39 +08:00
name 'pgAdmin'
homepage 'http://pgadmin.org'
2014-12-20 23:21:39 +08:00
license :oss
gpg "#{url}.sig",
:key_id => 'e0c4ceeb826b1fda4fb468e024adfaaf698f1519'
2014-09-16 00:06:07 +08:00
app 'pgAdmin3.app'
2015-01-07 08:53:57 +08:00
zap :delete => [
'~/Library/Preferences/pgadmin3 Preferences',
'~/Library/Saved Application State/org.postgresql.pgadmin.savedState',
2015-01-07 08:53:57 +08:00
]
end