You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

16 lines
593 B

cask 'kicad-nightly' do
version '20170331-032150.3234087'
sha256 'c6ea770ef84927b8e1a7445b21efd66008417b1470f3f50e5479a68085bbee05'
url "http://downloads.kicad-pcb.org/osx/nightly/kicad-#{version}-c4osx.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