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
604 B
17 lines
604 B
cask 'kicad-nightly' do
|
|
version 'r7009.20160807-035111'
|
|
sha256 '16f8b12f98deb043ca1ed10e40c241d8370eb7b7436627efa691a45a630c0b9f'
|
|
|
|
url "http://downloads.kicad-pcb.org/osx/nightly/kicad-#{version}.dmg"
|
|
name 'KiCad'
|
|
homepage 'http://www.kicad-pcb.org/'
|
|
license :gpl
|
|
|
|
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
|
|
|