aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/setweblocthumb.rb
blob: 4d5fd5fbb74dee05aa78008f95c746cf39b97366 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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