homebrew-core/Formula/trash.rb

21 lines
430 B
Ruby
Raw Normal View History

require 'formula'
class Trash < Formula
homepage 'http://hasseg.org/trash/'
2014-03-17 16:12:54 +00:00
url 'https://github.com/ali-rantakari/trash/archive/v0.8.4.tar.gz'
sha1 'e70ebeba684fd1fd126d912e3528115fbb2fb7be'
2013-11-06 06:11:41 +00:00
conflicts_with 'osxutils', :because => 'both install a trash binary'
def install
system "make"
system "make docs"
bin.install "trash"
man1.install "trash.1"
end
test do
system "#{bin}/trash"
end
end