From 6cc69fe65bc4f60b58a4b624dc02abd982924f9c Mon Sep 17 00:00:00 2001 From: Wolfgang Kreutz Date: Fri, 29 Dec 2023 16:17:45 +0100 Subject: [PATCH 1/4] openthesaurus-deutsch v2023.12.28 --- Casks/o/openthesaurus-deutsch.rb | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Casks/o/openthesaurus-deutsch.rb diff --git a/Casks/o/openthesaurus-deutsch.rb b/Casks/o/openthesaurus-deutsch.rb new file mode 100644 index 0000000000..85c2a68855 --- /dev/null +++ b/Casks/o/openthesaurus-deutsch.rb @@ -0,0 +1,20 @@ +cask "openthesaurus-deutsch" do + version "2023.12.28" + sha256 :no_check + + url "https://downloads.tekl.de/OpenThesaurus_Deutsch_dictionaryfile.zip" + name "OpenThesaurus Deutsch Dictionary plugin" + desc "Extends Apples Dictionary App with a German thesaurus" + homepage "https://tekl.de/lexikon-plug-ins/openthesaurus-deutsch-lexikon-plugin" + + livecheck do + url :homepage + regex(%r{\s*v(\d\d\d\d.\d\d.\d\d)\s*}i) + end + + depends_on macos: ">= :el_capitan" + + dictionary "OpenThesaurus Deutsch.dictionary" + + # No zap stanza required +end From cbc00f9933f1a8db80a9433dc582b7e45654d78e Mon Sep 17 00:00:00 2001 From: Razvan Azamfirei Date: Sat, 30 Dec 2023 13:17:30 +0200 Subject: [PATCH 2/4] openthesaurus-deutsch: modify download url and livecheck --- Casks/o/openthesaurus-deutsch.rb | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Casks/o/openthesaurus-deutsch.rb b/Casks/o/openthesaurus-deutsch.rb index 85c2a68855..f03e1e70b7 100644 --- a/Casks/o/openthesaurus-deutsch.rb +++ b/Casks/o/openthesaurus-deutsch.rb @@ -1,15 +1,16 @@ cask "openthesaurus-deutsch" do version "2023.12.28" - sha256 :no_check + sha256 "bc28b0ad3c2d64c40ffd13f72061109dd5b01e26a1a76af5a412005f0b31eb11" - url "https://downloads.tekl.de/OpenThesaurus_Deutsch_dictionaryfile.zip" + url "https://github.com/Tekl/openthesaurus-deutsch/releases/download/v#{version}/OpenThesaurus_Deutsch.dmg", + verified: "github.com/Tekl/openthesaurus-deutsch/" name "OpenThesaurus Deutsch Dictionary plugin" desc "Extends Apples Dictionary App with a German thesaurus" homepage "https://tekl.de/lexikon-plug-ins/openthesaurus-deutsch-lexikon-plugin" livecheck do - url :homepage - regex(%r{\s*v(\d\d\d\d.\d\d.\d\d)\s*}i) + url :url + strategy :github_latest end depends_on macos: ">= :el_capitan" From 9464826cf20cb47638ace11f2edea0f8d3932cea Mon Sep 17 00:00:00 2001 From: Wolfgang Kreutz Date: Sat, 30 Dec 2023 12:36:13 +0100 Subject: [PATCH 3/4] Update openthesaurus-deutsch.rb --- Casks/o/openthesaurus-deutsch.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Casks/o/openthesaurus-deutsch.rb b/Casks/o/openthesaurus-deutsch.rb index f03e1e70b7..bad8f10293 100644 --- a/Casks/o/openthesaurus-deutsch.rb +++ b/Casks/o/openthesaurus-deutsch.rb @@ -1,8 +1,8 @@ cask "openthesaurus-deutsch" do version "2023.12.28" - sha256 "bc28b0ad3c2d64c40ffd13f72061109dd5b01e26a1a76af5a412005f0b31eb11" + sha256 "cb12ab497c71d0aa56cfa6ae2df4b5e5b9fb7eed424c35dd82400cc9ce66a9e5" - url "https://github.com/Tekl/openthesaurus-deutsch/releases/download/v#{version}/OpenThesaurus_Deutsch.dmg", + url "https://github.com/Tekl/openthesaurus-deutsch/releases/download/v#{version}/OpenThesaurus_Deutsch_dictionaryfile.zip", verified: "github.com/Tekl/openthesaurus-deutsch/" name "OpenThesaurus Deutsch Dictionary plugin" desc "Extends Apples Dictionary App with a German thesaurus" From ebe646c887dc64c624e949b6cf524740dfe14159 Mon Sep 17 00:00:00 2001 From: Razvan Azamfirei Date: Sat, 30 Dec 2023 14:18:40 +0200 Subject: [PATCH 4/4] Update openthesaurus-deutsch.rb --- Casks/o/openthesaurus-deutsch.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Casks/o/openthesaurus-deutsch.rb b/Casks/o/openthesaurus-deutsch.rb index bad8f10293..a5e851f92c 100644 --- a/Casks/o/openthesaurus-deutsch.rb +++ b/Casks/o/openthesaurus-deutsch.rb @@ -5,7 +5,7 @@ cask "openthesaurus-deutsch" do url "https://github.com/Tekl/openthesaurus-deutsch/releases/download/v#{version}/OpenThesaurus_Deutsch_dictionaryfile.zip", verified: "github.com/Tekl/openthesaurus-deutsch/" name "OpenThesaurus Deutsch Dictionary plugin" - desc "Extends Apples Dictionary App with a German thesaurus" + desc "German thesaurus for Apple Dictionary" homepage "https://tekl.de/lexikon-plug-ins/openthesaurus-deutsch-lexikon-plugin" livecheck do