aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/setweblocthumb.rb17
1 files changed, 17 insertions, 0 deletions
diff --git a/Library/Formula/setweblocthumb.rb b/Library/Formula/setweblocthumb.rb
new file mode 100644
index 000000000..4d5fd5fbb
--- /dev/null
+++ b/Library/Formula/setweblocthumb.rb
@@ -0,0 +1,17 @@
+require 'formula'
+
+class Setweblocthumb < Formula
+ homepage 'http://hasseg.org/setWeblocThumb'
+ url 'https://github.com/ali-rantakari/setWeblocThumb/archive/v1.0.0.tar.gz'
+ sha1 '60fb2858e6f45216166f31e951432805d7f9dcc0'
+
+ def install
+ system "make"
+ bin.install "setWeblocThumb"
+ end
+
+ test do
+ Pathname.new('google.webloc').write('{URL = "https://google.com";}')
+ system "#{bin}/setWeblocThumb", 'google.webloc'
+ end
+end