99ade332fc
Closes #5688. Signed-off-by: ilovezfs <ilovezfs@icloud.com>
24 lines
738 B
Ruby
24 lines
738 B
Ruby
class ClearlooksPhenix < Formula
|
|
desc "GTK+3 port of the Clearlooks Theme"
|
|
homepage "https://github.com/jpfleury/clearlooks-phenix"
|
|
url "https://github.com/jpfleury/clearlooks-phenix/archive/7.0.1.tar.gz"
|
|
sha256 "2a9b21400f9960422e31dc4dabb4f320a16b76776a9574f0986bb00e97d357f4"
|
|
head "https://github.com/jpfleury/clearlooks-phenix.git"
|
|
|
|
bottle :unneeded
|
|
|
|
depends_on "gtk+3"
|
|
|
|
def install
|
|
(share/"themes/Clearlooks-Phenix").install %w[gtk-2.0 gtk-3.0 index.theme]
|
|
end
|
|
|
|
def post_install
|
|
system "#{Formula["gtk+3"].opt_bin}/gtk3-update-icon-cache", "-f",
|
|
HOMEBREW_PREFIX/"share/themes/Clearlooks-Phenix"
|
|
end
|
|
|
|
test do
|
|
assert File.exist?("#{share}/themes/Clearlooks-Phenix/index.theme")
|
|
end
|
|
end
|