17 lines
560 B
Ruby
17 lines
560 B
Ruby
cask 'kicad' do
|
|
version '4.0.4'
|
|
sha256 '77c45d49d1d151d3ef86ac88578a0497612d250af134b6d339fc147e95cb48bf'
|
|
|
|
url "http://downloads.kicad-pcb.org/osx/stable/kicad-#{version}.dmg"
|
|
name 'KiCad'
|
|
homepage 'http://kicad-pcb.org/'
|
|
|
|
suite 'Kicad-apps', target: 'Kicad'
|
|
artifact 'kicad', target: "#{ENV['HOME']}/Library/Application Support/kicad"
|
|
|
|
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/"]
|
|
end
|
|
end
|