aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/sbuild.rb
blob: 24cd79a94d3e55ab90794975eb95f027fb88887c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
require 'formula'

class Sbuild < Formula
  homepage 'http://sbuild.tototec.de/sbuild/projects/sbuild/wiki'
  url 'http://sbuild.tototec.de/sbuild/attachments/download/75/sbuild-0.6.0-dist.zip'
  sha1 '21a75d6ff08d56d470da047d73a96ebddc8eee49'

  def install
    libexec.install Dir['*']
    system "chmod +x #{libexec}/bin/sbuild"
    bin.install_symlink libexec/"bin/sbuild"
  end

  test do
    system "#{bin}/sbuild", "--help"
  end
end