mirror of
https://github.com/wavetermdev/homebrew-cask.git
synced 2026-08-05 13:43:24 -07:00
@@ -7,16 +7,6 @@ cask "dwarf-fortress" do
|
||||
desc "Single-player fantasy game"
|
||||
homepage "https://www.bay12games.com/dwarves/"
|
||||
|
||||
livecheck do
|
||||
url "https://www.bay12games.com/dwarves/older_versions.html"
|
||||
strategy :page_match do |page|
|
||||
match = page.match(/href="df[._-]v?(\d+(?:_\d+)+)[._-]osx\.t/i)
|
||||
next if match.blank?
|
||||
|
||||
"0.#{match[1].tr("_", ".")}"
|
||||
end
|
||||
end
|
||||
|
||||
# shim script (https://github.com/Homebrew/homebrew-cask/issues/18809)
|
||||
shimscript = "#{staged_path}/df_osx/df.wrapper.sh"
|
||||
binary shimscript, target: "dwarf-fortress"
|
||||
@@ -35,6 +25,8 @@ cask "dwarf-fortress" do
|
||||
end
|
||||
|
||||
caveats <<~EOS
|
||||
discontinued
|
||||
|
||||
During uninstall, your save data will be copied to /tmp/dwarf-fortress-save
|
||||
EOS
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user