excalidrawz 1.2.5
[Homebrew/homebrew-cask.git] / Casks / l / librepcb.rb
blobbfe5368667ec8255a4e54b16459cbbe12f6609c9
1 cask "librepcb" do
2   arch arm: "arm64", intel: "x86_64"
4   version "1.2.0"
5   sha256 arm:   "30d2c18589bb8bbb75c6d286c8a4933d473904ac0015d0ba598f9afebf2cf9c7",
6          intel: "69f84d12499a7a822fadc7732d773effbe0809e13ebccb2894fc56ee996d2cf1"
8   url "https://download.librepcb.org/releases/#{version}/librepcb-#{version}-mac-#{arch}.dmg"
9   name "LibrePCB"
10   desc "EDA software to develop printed circuit boards"
11   homepage "https://librepcb.org/"
13   livecheck do
14     url "https://librepcb.org/download/"
15     regex(%r{href=.*?/librepcb[._-]v?(\d+(?:\.\d+)+)-mac-#{arch}\.dmg}i)
16   end
18   app "librepcb.app"
20   zap trash: [
21     "~/Library/Preferences/org.librepcb.LibrePCB.plist",
22     "~/Library/Saved Application State/com.yourcompany.librepcb.savedState",
23     "~/Library/Saved Application State/org.librepcb.LibrePCB.savedState",
24   ]
25 end