From 6d6f332e1da52be38d9f77879a34b0b7156caea4 Mon Sep 17 00:00:00 2001 From: alnasl Date: Mon, 11 Sep 2023 15:06:02 +0900 Subject: [PATCH] Add TWELITE STAGE 2022_08_30 --- Casks/t/twelite-stage.rb | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 Casks/t/twelite-stage.rb diff --git a/Casks/t/twelite-stage.rb b/Casks/t/twelite-stage.rb new file mode 100644 index 0000000000..32cdf25d3f --- /dev/null +++ b/Casks/t/twelite-stage.rb @@ -0,0 +1,27 @@ +cask "twelite-stage" do + version "2022_08_30" + sha256 "d848758cb89690200041ed910aacd2e7396148d86fbc30376af0e9b94a2af46f" + + url "https://mono-wireless.com/download/stage/MWSTAGE#{version}-mac.zip" + name "TWELITE STAGE SDK" + desc "Evaluation & Development tools for TWELITE wireless modules" + homepage "https://mono-wireless.com/" + + livecheck do + url "https://mono-wireless.com/jp/products/stage/Readme-j.html" + regex(/MWSTAGE(20\d{2}_(?:0[1-9]|1[0-2])_(?:0[1-9]|[12][0-9]|3[01]))/i) + strategy :page_match + end + + depends_on macos: ">= :mojave" + + # It is an SDK with a shell-based application that includes source code and other user resources. + # It is neither an "app" nor a "suite". + artifact "MWSTAGE", + target: "~/MWSTAGE" + + # Contains user resources such as source code + uninstall trash: "~/MWSTAGE" + + # No zap stanza required, all resources are in ~/MWSTAGE +end