23 lines
722 B
Ruby
23 lines
722 B
Ruby
cask "quakespasm" do
|
|
version "0.96.0"
|
|
sha256 "88fdd3ca822065a5ced5394c60e755f41728edf97a4d3e3a41949271445d6f86"
|
|
|
|
url "https://downloads.sourceforge.net/quakespasm/Mac/QuakeSpasm-#{version}-osx-SDL2.zip"
|
|
name "QuakeSpasm"
|
|
desc "Engine for iD software's Quake"
|
|
homepage "https://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
|
|
|
|
caveats <<~EOS
|
|
To complete the installation of #{token}, you will have to copy the files
|
|
'pak0.pak' and 'pak1.pak' from your Quake 1 installation support directory
|
|
into #{appdir}/QuakeSpasm/id1/
|
|
EOS
|
|
end
|