homebrew-cask/Casks/kicad.rb

19 lines
705 B
Ruby
Raw Normal View History

2015-12-18 09:15:28 +08:00
cask 'kicad' do
2016-12-21 05:57:16 +08:00
version '4.0.5'
2017-01-05 21:35:17 +08:00
sha256 '4e15567c655176bd8d187d8d9c3e9413e7777e84bd5cef057f04b5895a5e786b'
2014-11-05 06:12:34 +08:00
2015-12-09 02:02:58 +08:00
url "http://downloads.kicad-pcb.org/osx/stable/kicad-#{version}.dmg"
2017-01-25 19:21:57 +08:00
appcast 'http://downloads.kicad-pcb.org/osx/stable/',
checkpoint: '356ff8ea5663cc43501727300029e2d5e3a2d8eea4878c4c1a4bbfb407ba9739'
2015-05-09 03:58:46 +08:00
name 'KiCad'
homepage 'http://kicad-pcb.org/'
2014-11-05 06:12:34 +08:00
suite 'Kicad-apps', target: 'Kicad'
artifact 'kicad', target: "#{ENV['HOME']}/Library/Application Support/kicad"
2015-12-09 02:02:58 +08:00
preflight do
system_command '/bin/mkdir', args: ['--', "#{staged_path}/Kicad-apps"]
system_command '/bin/mv', args: ['--', *Dir["#{staged_path}/Kicad/*.app"], "#{staged_path}/Kicad-apps/"]
2015-12-09 02:02:58 +08:00
end
2014-11-05 06:12:34 +08:00
end