2017-10-14 08:28:16 +08:00
|
|
|
cask 'quakespasm' do
|
2018-07-18 02:45:55 +08:00
|
|
|
version '0.93.1'
|
|
|
|
sha256 '7cbeba17619779717b76bb366a938d96f094c4eabd9fef008c61dd3c2e806c9a'
|
2017-10-14 08:28:16 +08:00
|
|
|
|
|
|
|
url "https://downloads.sourceforge.net/quakespasm/Mac/QuakeSpasm-#{version}-osx.zip"
|
2018-06-12 22:37:26 +08:00
|
|
|
appcast 'https://sourceforge.net/projects/quakespasm/rss?path=/Mac'
|
2017-10-14 08:28:16 +08:00
|
|
|
name 'QuakeSpasm'
|
|
|
|
homepage 'http://quakespasm.sourceforge.net/'
|
|
|
|
|
|
|
|
suite 'QuakeSpasm'
|
|
|
|
|
|
|
|
preflight do
|
|
|
|
# There is no sub-folder; the root *is* the folder
|
|
|
|
FileUtils.mv(staged_path.children, staged_path.join('QuakeSpasm').tap(&:mkpath))
|
|
|
|
end
|
|
|
|
|
2017-10-22 23:36:29 +08:00
|
|
|
caveats <<~EOS
|
2017-10-14 08:28:16 +08:00
|
|
|
To complete the installation of #{token}, you will have to copy the file 'pak0.pak' and 'pak1.pak'
|
|
|
|
from your Quake 1 installation support directory into #{appdir}/QuakeSpasm/id1/
|
|
|
|
EOS
|
|
|
|
end
|