Skip to content

Instantly share code, notes, and snippets.

@davetcoleman
Created February 20, 2012 02:30
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save davetcoleman/1867347 to your computer and use it in GitHub Desktop.
Save davetcoleman/1867347 to your computer and use it in GitHub Desktop.
Terminator Formula
require 'formula'
class Terminator < Formula
url 'http://launchpad.net/terminator/trunk/0.96/+download/terminator_0.96.tar.gz'
homepage 'http://www.tenshu.net/p/terminator.html'
md5 '070e3878336b341c9e18339d89ba64fe'
depends_on 'gettext' => :build, 'intltool' => :build
depends_on 'pygtk'
depends_on 'vte'
depends_on 'hicolor-icon-theme'
def install
msgfmt = `which #{HOMEBREW_PREFIX}/Cellar/gettext/*/bin/msgfmt`.split(' ')[0]
inreplace 'setup.py' do |s|
s.gsub! "'msgfmt'", "'#{msgfmt}'"
end
system "python", "setup.py", "build"
system "python", "setup.py", "--without-icon-cache", "install", "--prefix=#{prefix}"
end
def test
system "terminator"
end
end
@jorgesilveira
Copy link

you really should make this work..terminator is totally awesome

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment