homebrew-core/Formula/clearlooks-phenix.rb
ilovezfs 99ade332fc clearlooks-phenix 7.0.1
Closes .

Signed-off-by: ilovezfs <ilovezfs@icloud.com>
2016-10-08 17:04:28 -07:00

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