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.
|
|
|
cask 'kicad-nightly' do
|
|
|
|
version '20161217-032736.f631ae2'
|
|
|
|
sha256 '6b5db7fd414e64ad8f1310d9d2451cf70ff08679fed22d6e2fbcce4963a8cec0'
|
|
|
|
|
|
|
|
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
|