3 sha256 "a1902d43ba77a0fc02ea31b38d9a290bacb08a82a5933a296c4c586657918bce"
5 url "https://files.squeak.org/#{version.csv.first}/Squeak#{version.csv.first}-#{version.csv.second}-64bit/Squeak#{version.csv.first}-#{version.csv.second}-64bit-All-in-One.zip"
7 desc "Smalltalk programming system"
8 homepage "https://squeak.org/"
11 url "https://squeak.org/downloads/"
12 regex(%r{href=.*?/Squeak(\d+(?:\.\d+)*)-(\d+)-64bit-All-in-One\.zip}i)
13 strategy :page_match do |page, regex|
14 page.scan(regex).map { |match| "#{match[0]},#{match[1]}" }
18 app "Squeak#{version.csv.first}-#{version.csv.second}-64bit-All-in-One.app"
20 zap trash: "~/Library/Saved Application State/org.squeak.Squeak#{version.csv.first}.64.All-in-One.savedState"