mirror of
https://github.com/wavetermdev/homebrew-cask.git
synced 2026-08-05 13:43:24 -07:00
Merge pull request #160511 from chiefmikey/bump-inkscape-1.3.1-44477
inkscape 1.3.1
This commit is contained in:
+7
-13
@@ -1,28 +1,22 @@
|
||||
cask "inkscape" do
|
||||
arch arm: "arm64", intel: "x86_64"
|
||||
|
||||
on_arm do
|
||||
version "1.3.0,42339"
|
||||
sha256 "e37b5f8b8995a0ecc41ca7fcae90d79bcd652b7a25d2f6e52c4e2e79aef7fec1"
|
||||
end
|
||||
on_intel do
|
||||
version "1.3.0,42338"
|
||||
sha256 "e97de6804d8811dd2f1bc45d709d87fb6fe45963aae710c24a4ed655ecd8eb8a"
|
||||
end
|
||||
version "1.3.1"
|
||||
sha256 arm: "6e6649573a6041ff8e3e363fc69f4f7687b4a2f12c7d1fd4e3c4abfef20fadef",
|
||||
intel: "e1ff7996e81550ca346d6178a148c7523cf04947fb710d2be2df8ed0ed2da285"
|
||||
|
||||
url "https://inkscape.org/gallery/item/#{version.csv.second}/Inkscape-#{version.csv.first}_#{arch}.dmg"
|
||||
url "https://media.inkscape.org/dl/resources/file/Inkscape-#{version}_#{arch}.dmg"
|
||||
name "Inkscape"
|
||||
desc "Vector graphics editor"
|
||||
homepage "https://inkscape.org/"
|
||||
|
||||
livecheck do
|
||||
url "https://inkscape.org/release/all/mac-os-x/"
|
||||
regex(%r{href=.*?item/(\d+)/Inkscape[._-]v?(\d+(?:\.\d+)+)[._-]#{arch}\.dmg}i)
|
||||
strategy :page_match do |page, regex|
|
||||
page.scan(regex).map { |match| "#{match[1]},#{match[0]}" }
|
||||
end
|
||||
regex(/Inkscape[._-]v?(\d+(?:\.\d+)+)[._-]#{arch}\.dmg/i)
|
||||
end
|
||||
|
||||
depends_on macos: ">= :high_sierra"
|
||||
|
||||
app "Inkscape.app"
|
||||
# shim script (https://github.com/Homebrew/homebrew-cask/issues/18809)
|
||||
shimscript = "#{staged_path}/inkscape.wrapper.sh"
|
||||
|
||||
Reference in New Issue
Block a user