2013-06-04 12:26:26 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Sbuild < Formula
|
2014-03-19 13:56:57 +00:00
|
|
|
homepage 'http://sbuild.org'
|
2014-03-26 15:34:48 +00:00
|
|
|
url 'http://sbuild.org/uploads/sbuild/0.7.4/sbuild-0.7.4-dist.zip'
|
|
|
|
sha1 '698306c8bad5aa32f42b9df6db30f06dba5ea5be'
|
2013-06-04 12:26:26 +00:00
|
|
|
|
|
|
|
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
|