2015-12-18 09:15:28 +08:00
|
|
|
cask 'klayout' do
|
2016-08-02 19:33:16 +08:00
|
|
|
version '0.24.8'
|
|
|
|
sha256 '95b38f338b76636fc3fa840b747fc3a62dd9335a69163996fd741f289c62f40e'
|
2014-06-27 08:01:22 +08:00
|
|
|
|
2016-06-18 06:28:34 +08:00
|
|
|
# klayout.org was verified as official when first introduced to the cask
|
|
|
|
url "http://www.klayout.org/downloads/klayout-#{version}-MacOSX-Yosemite-1-Qt487mp.dmg.bz2"
|
2015-01-10 04:40:28 +08:00
|
|
|
name 'KLayout'
|
2014-12-25 01:40:22 +08:00
|
|
|
homepage 'http://www.klayout.de/'
|
2016-01-04 03:18:44 +08:00
|
|
|
license :unknown # TODO: change license and remove this comment; ':unknown' is a machine-generated placeholder
|
2014-06-27 08:01:22 +08:00
|
|
|
|
2016-08-16 00:29:41 +08:00
|
|
|
suite 'KLayout'
|
|
|
|
|
|
|
|
preflight do
|
|
|
|
# There is no sub-folder in the DMG; the root *is* the folder
|
|
|
|
FileUtils.mv(staged_path.children, staged_path.join('KLayout').tap(&:mkpath))
|
|
|
|
end
|
2014-11-22 22:12:41 +08:00
|
|
|
|
2016-01-18 09:27:20 +08:00
|
|
|
uninstall pkgutil: 'klayout.de',
|
|
|
|
quit: 'klayout.de'
|
2014-05-23 00:12:25 +08:00
|
|
|
end
|