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-30 05:48:55 +08:00
version '6.0.06'
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-30 05:48:55 +08:00
sha256 'f82242cc2fbc07ae5b9218e7707f842f0a428b0db019db04d0a0936dcb4c0298'
url "https://github.com/praat/praat/releases/download/v#{version}/praat#{version.delete('.')}_mac32.dmg"
else
2015-11-30 05:48:55 +08:00
sha256 '8a5e2cbc79b5ef999231f0f108f864e3fdacf020942e166a930c40353eff1b06'
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