Files
Markus Reiter 291b670976 magicplot: rename and add livecheck (#103959)
* magicplotpro: add livecheck

* Update magicplotpro.rb

* Rename magicplotpro.rb to magicplot.rb

* Update magicplot.rb

* Delete magicplotstudent.rb

* Update magicplot.rb

* Update magicplot.rb

Co-authored-by: Miccal Matthews <miccal.matthews@gmail.com>
2021-04-15 13:33:34 +08:00

18 lines
454 B
Ruby

cask "magicplot" do
version "3.0"
sha256 "4b56ef31ff7b347d729b8ed958b2ec14affa031b4c27db653cdaa3618b57d710"
url "https://magicplot.com/downloads/MagicPlot#{version}.zip"
name "MagicPlot"
desc "Software for nonlinear fitting, plotting and data analysis"
homepage "https://magicplot.com/"
livecheck do
url :homepage
strategy :page_match
regex(/href=.*?MagicPlot(\d+(?:\.\d+)*)\.zip/i)
end
app "MagicPlot#{version}.app"
end