18 lines
322 B
Ruby
18 lines
322 B
Ruby
|
require 'formula'
|
||
|
|
||
|
class Trash < Formula
|
||
|
homepage 'http://hasseg.org/trash/'
|
||
|
url 'http://hasseg.org/git-public/trash.git/', :using => :git, :tag => 'v0.8.2'
|
||
|
|
||
|
def install
|
||
|
system "make"
|
||
|
system "make docs"
|
||
|
bin.install "trash"
|
||
|
man1.install "trash.1"
|
||
|
end
|
||
|
|
||
|
def test
|
||
|
system "#{bin}/trash"
|
||
|
end
|
||
|
end
|