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'
|
2015-08-23 14:28:49 +08:00
|
|
|
url "https://github.com/praat/praat/releases/download/v#{version}/praat#{version.delete('.')}_mac32.dmg"
|
2014-08-09 22:06:35 +08:00
|
|
|
else
|
2015-11-30 05:48:55 +08:00
|
|
|
sha256 '8a5e2cbc79b5ef999231f0f108f864e3fdacf020942e166a930c40353eff1b06'
|
2015-08-23 14:28:49 +08:00
|
|
|
url "https://github.com/praat/praat/releases/download/v#{version}/praat#{version.delete('.')}_mac64.dmg"
|
2014-02-25 01:05:30 +08:00
|
|
|
end
|
2014-09-26 20:09:07 +08:00
|
|
|
|
2015-08-23 14:28:49 +08:00
|
|
|
appcast 'https://github.com/praat/praat/releases.atom'
|
2015-04-21 22:52:20 +08:00
|
|
|
name 'Praat'
|
2014-01-25 11:31:33 +08:00
|
|
|
homepage 'http://www.fon.hum.uva.nl/praat/'
|
2014-10-24 22:02:14 +08:00
|
|
|
license :gpl
|
2014-09-26 20:09:07 +08:00
|
|
|
|
2014-09-16 00:06:10 +08:00
|
|
|
app 'Praat.app'
|
2014-11-07 20:18:58 +08:00
|
|
|
binary 'Praat.app/Contents/MacOS/Praat', :target => 'praat'
|
2014-01-25 11:31:33 +08:00
|
|
|
end
|