e8efe6cf9f
Incredibly simple formula for the GTK+3 port of the Clearlooks theme. No compile necessary. The test is awful, but it's the same sort of test we use on all the other GTK/GTK+3 themes as obviously, no binaries, no libraries, nothing to actually really test. Verified working as expected locally. Would be nice to add it to Homebrew as finding GTK+3 themes that people haven't *completely* given up maintaining and stop functioning rather quickly is increasingly troublesome. Closes Homebrew/homebrew#42142. Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
22 lines
718 B
Ruby
22 lines
718 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/6.0.3.tar.gz"
|
|
sha256 "663a40368107434b1333e42a630de74704f7b71a864e08d6b4ac1a5a68ccd874"
|
|
head "https://github.com/jpfleury/clearlooks-phenix.git"
|
|
|
|
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
|