mirror of
https://github.com/wavetermdev/homebrew-cask.git
synced 2026-08-05 13:43:24 -07:00
The migration of `orka.rb` and then `o*.rb` has worked well without complaint so: let's move everything else, too.
20 lines
567 B
Ruby
20 lines
567 B
Ruby
cask "maczip4win" do
|
|
version "0.4.1"
|
|
sha256 "169e84b66dfd2d513385c86726a8c78c37cf73c8c2bf753ddb6fd112d7b38ec7"
|
|
|
|
url "https://ynomura.com/MacZip4win_#{version.dots_to_underscores}.zip"
|
|
name "MacZip4Win"
|
|
desc "Create zip files for use on Windows"
|
|
homepage "https://ynomura.com/wp/?page_id=116"
|
|
|
|
livecheck do
|
|
url :homepage
|
|
regex(/href=.*?MacZip4win[._-]v?(\d+(?:[._]\d+)+)\.zip/i)
|
|
strategy :page_match do |page, regex|
|
|
page.scan(regex).map { |match| match[0].tr("_", ".") }
|
|
end
|
|
end
|
|
|
|
app "MacZip4win #{version}/MacZip4Win.app"
|
|
end
|