22 lines
856 B
Ruby
22 lines
856 B
Ruby
cask 'gambit' do
|
|
version '4.8.9'
|
|
sha256 'dd9945149dbf57930f01cc1b49848b9e37d38fd09ba9b9b2d74985f31f3e6c6c'
|
|
|
|
# iro.umontreal.ca/~gambit/download/gambit was verified as official when first introduced to the cask
|
|
url "https://www.iro.umontreal.ca/~gambit/download/gambit/v#{version.major_minor}/prebuilt/gambit-v#{version.dots_to_underscores}-macosx-intel64.dmg"
|
|
appcast 'https://github.com/gambit/gambit/releases.atom'
|
|
name 'Gambit'
|
|
homepage 'http://gambitscheme.org/'
|
|
|
|
pkg "gambit-v#{version.dots_to_underscores}-macosx-intel64.pkg"
|
|
|
|
uninstall pkgutil: 'marc.feeley.gambit',
|
|
script: {
|
|
executable: "/Library/Gambit/v#{version}/bin/uninstall-gambit",
|
|
args: ["v#{version}"],
|
|
sudo: true,
|
|
}
|
|
|
|
zap trash: '~/.gambit_history'
|
|
end
|