diff options
| author | Vlad Shablinsky | 2015-03-10 21:23:32 +0300 |
|---|---|---|
| committer | Brett Koonce | 2015-03-11 23:58:18 -0700 |
| commit | 9acf6bbc34660cb62874ce09d00edc924ee460de (patch) | |
| tree | 0dcc37f9c055fe378cb196b8c29983557c7280da | |
| parent | 6327de864d253e6966799143919f8ea20b7da736 (diff) | |
| download | homebrew-9acf6bbc34660cb62874ce09d00edc924ee460de.tar.bz2 | |
sbuild: use Ruby chmod, sha256, remove require
Closes #37580.
Signed-off-by: Brett Koonce <koonce@gmail.com>
| -rw-r--r-- | Library/Formula/sbuild.rb | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/Library/Formula/sbuild.rb b/Library/Formula/sbuild.rb index 9d78a5ffb..21eabda8f 100644 --- a/Library/Formula/sbuild.rb +++ b/Library/Formula/sbuild.rb @@ -1,17 +1,15 @@ -require 'formula' - class Sbuild < Formula - homepage 'http://sbuild.org' - url 'http://sbuild.org/uploads/sbuild/0.7.6/sbuild-0.7.6-dist.zip' - sha1 'd3c815eea2db0347c2b8a319d52c32a50b03d803' + homepage "http://sbuild.org" + url "http://sbuild.org/uploads/sbuild/0.7.6/sbuild-0.7.6-dist.zip" + sha256 "64e17df4db26980170e5cf616d015924da01f232c5207f2bdc7ba10e7d976e3d" def install - libexec.install Dir['*'] - system "chmod +x #{libexec}/bin/sbuild" + libexec.install Dir["*"] + chmod 0755, libexec/"bin/sbuild" bin.install_symlink libexec/"bin/sbuild" end test do - system "#{bin}/sbuild", "--help" + system bin/"sbuild", "--help" end end |
