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.

17 lines
593 B

cask 'kicad-nightly' do
version '20161117-032607.682c15e'
sha256 '3112ba406b4f52230fd7a04d021a5d658315e9c83f2baffe814e1de798414ddf'
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