dwarf-fortress: discontinued

Signed-off-by: Rui Chen <rui@chenrui.dev>
This commit is contained in:
Rui Chen
2023-11-26 19:34:18 -05:00
parent 34aebd1b7b
commit 6efafdb135
+2 -10
View File
@@ -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