From 349eda26130e4a80984574f8357c19ddf4a945ab Mon Sep 17 00:00:00 2001 From: phySi0 Date: Sun, 27 Oct 2013 15:15:55 +0000 Subject: setweblocthumb 1.0.0 (new formula) Closes #25222. Signed-off-by: Mike McQuaid --- Library/Formula/setweblocthumb.rb | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Library/Formula/setweblocthumb.rb (limited to 'Library') 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 -- cgit v1.2.3