2015-12-18 09:15:28 +08:00
|
|
|
cask 'klayout' do
|
2017-04-24 19:35:05 +08:00
|
|
|
version '0.24.10'
|
|
|
|
sha256 'a2097dd73f8bbdeb4297f1fdaba01635894941ae1b3c376e625948171061d6d6'
|
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
|
2017-01-03 13:18:13 +08:00
|
|
|
url "http://www.klayout.org/downloads/MacOS/klayout-#{version}-MacOSX-Yosemite-1-Qt487mp.dmg.bz2"
|
2015-01-10 04:40:28 +08:00
|
|
|
name 'KLayout'
|
2017-01-15 17:56:40 +08:00
|
|
|
homepage 'https://www.klayout.de/'
|
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
|