blob: f9a58932076003fb41cc4b63a6d54742391ddaf0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
require 'formula'
class Fishfish < Formula
homepage 'http://ridiculousfish.com/shell'
url 'https://github.com/fish-shell/fish-shell.git',
:tag => 'OpenBeta_r2'
version 'OpenBeta_r2'
head 'https://github.com/fish-shell/fish-shell.git',
:branch => 'master'
depends_on :autoconf
depends_on 'doxygen' => :build
conflicts_with "fish"
def install
system "autoconf"
system "./configure", "--prefix=#{prefix}", "--without-xsel"
system "make install"
end
test do
system "fish", "-c", "echo"
end
def caveats; <<-EOS.undent
You will need to add:
#{HOMEBREW_PREFIX}/bin/fish
to /etc/shells. Run:
chsh -s #{HOMEBREW_PREFIX}/bin/fish
to make fish your default shell.
EOS
end
end
|