mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-12-01 21:19:58 -05:00
tig: add head option
Closes #25755. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
1 parent
cde380ccf6
commit
c286e66299
1 file changed
+2
@@ -2,6 +2,7 @@ require 'formula'
|
||||
|
||||
class Tig < Formula
|
||||
homepage 'http://jonas.nitro.dk/tig/'
|
||||
head 'https://github.com/jonas/tig.git'
|
||||
url 'http://jonas.nitro.dk/tig/releases/tig-1.2.1.tar.gz'
|
||||
sha1 '5755bae7342debf94ef33973e0eaff6207e623dc'
|
||||
|
||||
@@ -13,6 +14,7 @@ class Tig < Formula
|
||||
end
|
||||
|
||||
def install
|
||||
system "./autogen.sh" if build.head?
|
||||
system "./configure", "--prefix=#{prefix}", "--sysconfdir=#{etc}"
|
||||
system "make install"
|
||||
system "make install-doc-man" if build.with? "docs"
|
||||
|
||||
Reference in new issue
Block a user