65d7842da4
The author of 'trash' has changed his name on GitHub, so the download URL needed to be updated. Closes Homebrew/homebrew#26220. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
20 lines
427 B
Ruby
20 lines
427 B
Ruby
require 'formula'
|
|
|
|
class Trash < Formula
|
|
homepage 'http://hasseg.org/trash/'
|
|
url 'http://github.com/ali-rantakari/trash/archive/v0.8.3.zip'
|
|
sha1 'de3489f7dbfe03dc490a3c7da22dba90998af3d1'
|
|
|
|
conflicts_with 'osxutils', :because => 'both install a trash binary'
|
|
|
|
def install
|
|
system "make"
|
|
system "make docs"
|
|
bin.install "trash"
|
|
man1.install "trash.1"
|
|
end
|
|
|
|
def test
|
|
system "#{bin}/trash"
|
|
end
|
|
end
|