homebrew-cask/Casks/kicad.rb

17 lines
564 B
Ruby
Raw Normal View History

2015-12-18 09:15:28 +08:00
cask 'kicad' do
2016-09-13 01:22:44 +08:00
version '4.0.4'
sha256 '77c45d49d1d151d3ef86ac88578a0497612d250af134b6d339fc147e95cb48bf'
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"
2015-05-09 03:58:46 +08:00
name 'KiCad'
2014-11-05 06:12:34 +08:00
homepage 'http://www.kicad-pcb.org/'
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