aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/trash.rb18
1 files changed, 18 insertions, 0 deletions
diff --git a/Library/Formula/trash.rb b/Library/Formula/trash.rb
new file mode 100644
index 000000000..b7e6d0d3e
--- /dev/null
+++ b/Library/Formula/trash.rb
@@ -0,0 +1,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