homebrew-cask/Casks/kicad.rb

18 lines
547 B
Ruby
Raw Normal View History

2015-12-18 09:15:28 +08:00
cask 'kicad' do
2015-12-09 02:02:58 +08:00
version '4.0.0'
sha256 '71b47ce37acd1d32eaee898254114203ef2de8b382f1353db7a01caa37a798e5'
2014-11-05 06:12:34 +08:00
2015-12-09 02:02:58 +08:00
url "http://downloads.kicad-pcb.org/osx/stable/kicad-#{version}.dmg"
2015-05-09 03:58:46 +08:00
name 'KiCad'
2014-11-05 06:12:34 +08:00
homepage 'http://www.kicad-pcb.org/'
license :gpl
2015-12-09 02:02:58 +08:00
preflight do
system '/bin/mkdir', '--', "#{staged_path}/Kicad-apps"
system '/bin/mv', '--', "#{staged_path}/Kicad/*.app", "#{staged_path}/Kicad-apps/"
end
suite 'Kicad-apps', :target => 'Kicad'
artifact 'kicad', :target => "#{ENV['HOME']}/Library/Application Support/kicad"
2014-11-05 06:12:34 +08:00
end