excalidrawz 1.2.5
[Homebrew/homebrew-cask.git] / Casks / s / scribus.rb
blob28f0bad0fecd2f074987eaa1c02dfbfa71737ac0
1 cask "scribus" do
2   arch arm: "-arm64"
4   version "1.6.2"
5   sha256 arm:   "e0020434cbc234025b9a2675dd0ffda0f978ae2fc74e6b1d8528af7a8dc03075",
6          intel: "0f0aa86dcd8674ee933e4cbe80f54f785f3847ea3b8c1d152d43f7245c0c7e69"
8   url "https://downloads.sourceforge.net/scribus/scribus/#{version}/scribus-#{version}#{arch}.dmg",
9       verified: "sourceforge.net/scribus/"
10   name "Scribus"
11   desc "Free and open-source page layout program"
12   homepage "https://www.scribus.net/"
14   livecheck do
15     url "https://sourceforge.net/projects/scribus/rss?path=/scribus"
16     regex(%r{url=.*?/scribus[._-]v?(\d+(?:\.\d+)+)(?:#{arch})?\.(?:dmg|pkg)}i)
17   end
19   app "Scribus.app"
21   zap trash: [
22     "~/Library/Application Support/Scribus",
23     "~/Library/Preferences/Scribus",
24     "~/Library/Saved Application State/net.scribus.savedState",
25   ]
26 end