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'
|
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-09 05:00:40 +08:00
|
|
|
sha256 'a9f5b0bc7192b4f8d9af19c3c788c5ebf9c81d0b63651b410bf520a3e5562753'
|
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
|