Skip to content

wiso-steuer-2020 (new cask) #220759

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 22, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 41 additions & 0 deletions Casks/w/wiso-steuer-2020.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
cask "wiso-steuer-2020" do
# NOTE: "2020" is not a version number, but an intrinsic part of the product name
version "10.20.4440-RC1"
sha256 "df973249f35592273bde026abe1bc0b06c246362c5fec29e9845f0fea43fc62b"

url "https://update.buhl-data.com/Updates/Steuer/2020/Mac/Files/#{version}/steuerMac2020-#{version.split("-").first}.dmg",
verified: "update.buhl-data.com/Updates/Steuer/"
name "WISO Steuer 2020"
desc "Tax declaration for the fiscal year 2019"
homepage "https://www.buhl.de/produkte/wiso-steuer-mac/"

livecheck do
url "https://update.buhl-data.com/Updates/Steuer/2020/Mac/Aktuell/appcast-steuer.xml"
regex(%r{/v?(\d+(?:\.\d+)+[^/]*)/SteuerMac2020[._-]v?(\d+(?:\.\d+)+)\.dmg}i)
strategy :sparkle do |item, regex|
match = item.url&.match(regex)
next if match.blank?

match[1]
end
end

auto_updates true
depends_on macos: ">= :sierra"

# Renamed for consistency: app name differs in Finder to shell
app "SteuerMac 2020.app", target: "WISO Steuer 2020.app"

zap trash: [
"~/Library/Application Support/BuhlData.com/WISOsteuerMac2020",
"~/Library/Caches/com.BuhlData.WISOsteuerMac2020",
"~/Library/HTTPStorages/com.BuhlData.WISOsteuerMac2020",
"~/Library/Preferences/com.buhldata.WISOsteuerMac2020.plist",
"~/Library/Saved Application State/com.BuhlData.WISOsteuerMac2020.savedState",
"~/Library/WebKit/com.BuhlData.WISOsteuerMac2020",
]

caveats do
requires_rosetta
end
end
Loading