Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add HEAD for the Homebrew formula #56

Closed
zmwangx opened this issue May 9, 2015 · 1 comment
Closed

Add HEAD for the Homebrew formula #56

zmwangx opened this issue May 9, 2015 · 1 comment

Comments

@zmwangx
Copy link

zmwangx commented May 9, 2015

gawk 4.1.2 broke 0.8.23 (#55), and the fix hasn't made into a release yet. Therefore, could you please add a HEAD to the Homebrew formula so that we may install the latest version without breaking out of brew? The formula could be like this: (By the way, latest develop doesn't really work on OS X, but that will be the subject of another issue)

require "formula"

class TranslateShell < Formula
  homepage "http://www.soimort.org/translate-shell"
  url "http://www.soimort.org/translate-shell/translate-shell.tar.gz"
  sha1 "f33287a1f0827b215514e2bd82671e03f0d908ce"
  version "0.8.23"

  head "https://github.com/soimort/translate-shell.git", :branch => "develop"

  depends_on 'fribidi' => :optional
  depends_on 'gawk'
  depends_on 'mplayer'
  depends_on 'rlwrap'

  def install
    if build.head?
      system "make"
      bin.install "build/trans"
      man1.install "man/trans.1"
    else
      bin.install "trans"
      man1.install "trans.1"
    end
  end
end
@soimort
Copy link
Owner

soimort commented May 9, 2015

I might have to create a 0.8 branch and roll out a stable 0.8.24 tomorrow, however 0.9 won't be too far either...

@soimort soimort closed this as completed May 10, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants