Skip to content

Instantly share code, notes, and snippets.

@elia
Created October 18, 2012 08:42
Show Gist options
  • Select an option

  • Save elia/3910505 to your computer and use it in GitHub Desktop.

Select an option

Save elia/3910505 to your computer and use it in GitHub Desktop.
rm -rf no more!
# - `brew edit trash`
# - paste this
# - `brew install trash`
require 'formula'
class Trash < Formula
homepage 'http://hasseg.org/trash/'
url 'http://hasseg.org/gitweb?p=trash.git;a=snapshot;h=v0.8.2;sf=tgz'
# url 'http://hasseg.org/git-public/trash.git', :using => :git
md5 false
version '0.8.2'
def install
ENV.append 'USE_SYSTEM_API', '1'
system 'make'
system 'make', 'docs'
bin.install 'trash'
man.install 'trash.1'
end
def test
system 'false'
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment