22 lines
631 B
Ruby
22 lines
631 B
Ruby
cask "cernbox" do
|
|
version "2.8.2.4410"
|
|
sha256 "607b174daae8d7bd83cbeda2a66e06e8371f90c19f1cf3b5c6c941c95df2d0d7"
|
|
|
|
url "https://cernbox.cern.ch/cernbox/doc/MacOSX/cernbox-#{version}.pkg"
|
|
name "CERNBox Client"
|
|
desc "Cloud storage for CERN users"
|
|
homepage "https://cernbox.web.cern.ch/cernbox/"
|
|
|
|
livecheck do
|
|
url "https://cernbox.web.cern.ch/cernbox/downloads/"
|
|
strategy :page_match
|
|
regex(%r{href=.*?/cernbox-(\d+(?:\.\d+)+)\.pkg}i)
|
|
end
|
|
|
|
pkg "cernbox-#{version}.pkg"
|
|
|
|
uninstall signal: [["TERM", "ch.cern.cernbox"]],
|
|
login_item: "cernbox",
|
|
pkgutil: "ch.cern.cernbox"
|
|
end
|