blob: 3f277ac3e9b1b1c6c9cc4e86479e80a564327f88 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
require 'formula'
class Trash < Formula
homepage 'http://hasseg.org/trash/'
url 'http://github.com/ali-rantakari/trash/archive/v0.8.4.zip'
sha1 '233773bcaed903e296f20635808c3dce7ef93c4b'
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
|