aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/trash.rb
blob: b7e6d0d3e35bb3cda278745d54d5cf5178d5146e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
require 'formula'

class Trash < Formula
  homepage 'http://hasseg.org/trash/'
  url 'http://hasseg.org/git-public/trash.git/', :using => :git, :tag => 'v0.8.2'
  version '0.8.2'

  def install
    system "make"
    system "make docs"
    bin.install "trash"
    man1.install "trash.1"
  end

  def test
    system "#{bin}/trash"
  end
end