aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/trash.rb
blob: e914c1b1d7ee567df0525b7bd09c5f83a8fc15a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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