homebrew-cask/Casks/praat.rb

20 lines
713 B
Ruby
Raw Normal View History

2014-11-14 01:26:42 +08:00
cask :v1 => 'praat' do
2015-11-09 05:00:40 +08:00
version '6.0.05'
2014-09-26 20:09:07 +08:00
2015-07-18 07:02:43 +08:00
if Hardware::CPU.is_32_bit? || MacOS.release <= :snow_leopard
2015-11-09 05:00:40 +08:00
sha256 'f243824c5122f3520989331ae710535728355f23fb6625423a7bf5fdce570ac1'
url "https://github.com/praat/praat/releases/download/v#{version}/praat#{version.delete('.')}_mac32.dmg"
else
2015-11-09 05:00:40 +08:00
sha256 'a9f5b0bc7192b4f8d9af19c3c788c5ebf9c81d0b63651b410bf520a3e5562753'
url "https://github.com/praat/praat/releases/download/v#{version}/praat#{version.delete('.')}_mac64.dmg"
end
2014-09-26 20:09:07 +08:00
appcast 'https://github.com/praat/praat/releases.atom'
2015-04-21 22:52:20 +08:00
name 'Praat'
homepage 'http://www.fon.hum.uva.nl/praat/'
license :gpl
2014-09-26 20:09:07 +08:00
2014-09-16 00:06:10 +08:00
app 'Praat.app'
binary 'Praat.app/Contents/MacOS/Praat', :target => 'praat'
end