-
-
Notifications
You must be signed in to change notification settings - Fork 10.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #174963 from unitof/add-canonufriidriver
canon-ufrii-driver 10.19.16 (new cask)
- Loading branch information
Showing
1 changed file
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
cask "canon-ufrii-driver" do | ||
version "10.19.16" | ||
sha256 "58831c5834b8b799b2496848b6c9f4f39d51abd813ad19c7aab38fb046c14be5" | ||
|
||
url "https://downloads.canon.com/bicg2023/drivers/UFRII_v#{version}_mac.zip", | ||
verified: "downloads.canon.com/" | ||
name "Canon UFR II/UFRII LT/LIPSLX/CARPS2 Printer Driver" | ||
desc "Printer driver for Canon imageRUNNER office printers" | ||
homepage "https://oip.manual.canon/USRMA-3844-zz-DR-enUV/" | ||
|
||
livecheck do | ||
url "https://www.usa.canon.com/bin/canon/support/getsoftwarediver.ds.MACOS_14.39319.All.English.json" | ||
regex(/UFRII[._-]v?(\d+(?:\.\d+)+)[._-]Mac/i) | ||
end | ||
|
||
depends_on macos: ">= :catalina" | ||
|
||
pkg "UFRII_LT_LIPS_LX_Installer.pkg" | ||
|
||
uninstall pkgutil: "jp.co.canon.CUPSPrinter.*", | ||
rmdir: "/Library/Printers/Canon" | ||
|
||
# No zap stanza required | ||
end |