homebrew-cask/Casks/x/xscreensaver.rb

23 lines
624 B
Ruby

cask "xscreensaver" do
version "6.07"
sha256 "3036ba42106ae7c312a5927a33762fd7d894a243ecfc11ad25010a945490c6e6"
url "https://www.jwz.org/xscreensaver/xscreensaver-#{version}.dmg"
name "XScreenSaver"
desc "Screen savers"
homepage "https://www.jwz.org/xscreensaver/"
livecheck do
url "https://www.jwz.org/xscreensaver/download.html"
regex(/href=.*?xscreensaver[._-]v?(\d+(?:\.\d+)+)\.dmg/i)
end
pkg "Install Everything.pkg"
uninstall pkgutil: "org.jwz.xscreensaver",
delete: [
"/Applications/Apple2.app",
"/Applications/Phosphor.app",
]
end