aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/screenfetch.rb
blob: 356f9c6cadf6c25cc2c90cbd410d87b2e6571cf7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
require "formula"

class Screenfetch < Formula
  homepage "https://github.com/KittyKatt/screenFetch"
  url "https://github.com/KittyKatt/screenFetch/archive/v3.6.5.tar.gz"
  sha1 "b409cf4c66fe5cdd8ee9ecfa85d1234a76a63588"
  head "git://git.silverirc.com/screenfetch.git", :shallow => false

  bottle do
    cellar :any
    sha1 "2a0024cef77d8b77c6ac4f7a05d4c40b0560547c" => :yosemite
    sha1 "982ec8491a1ec97ab57063120a3cc95f021c9ae7" => :mavericks
    sha1 "3a1213b42c9f45cc8ed6c8f4194c4777adbbbeb3" => :mountain_lion
  end

  def install
    bin.install "screenfetch-dev" => "screenfetch"
    man1.install "screenfetch.1"
  end

  test do
    system "#{bin}/screenfetch"
  end
end