diff options
| author | Marcel Wolf | 2014-09-26 18:08:57 +0200 |
|---|---|---|
| committer | Tim D. Smith | 2014-09-26 14:32:33 -0700 |
| commit | 508154640f0bf628dccd5d0401cd2592d12c3bc5 (patch) | |
| tree | 747ebe299cc230278f132b7a4d97a68554a3e690 /Library | |
| parent | bc34df5711416b7d8b6d6a743e297a2bc8101d78 (diff) | |
| download | homebrew-508154640f0bf628dccd5d0401cd2592d12c3bc5.tar.bz2 | |
fish 2.1.1
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/fish.rb | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/Library/Formula/fish.rb b/Library/Formula/fish.rb index de7d8c71a..ba83d81b9 100644 --- a/Library/Formula/fish.rb +++ b/Library/Formula/fish.rb @@ -1,19 +1,19 @@ -require 'formula' +require "formula" class Fish < Formula - homepage 'http://fishshell.com' - url 'http://fishshell.com/files/2.1.0/fish-2.1.0.tar.gz' - sha1 'b1764cba540055cb8e2a96a7ea4c844b04a32522' + homepage "http://fishshell.com" + url "https://github.com/fish-shell/fish-shell/releases/download/2.1.1/fish-2.1.1.tar.gz" + sha1 "8f97f39b92ea7dfef1f464b18e304045bf37546d" head do - url 'https://github.com/fish-shell/fish-shell.git' + url "https://github.com/fish-shell/fish-shell.git" depends_on :autoconf # Indeed, the head build always builds documentation - depends_on 'doxygen' => :build + depends_on "doxygen" => :build end - skip_clean 'share/doc' + skip_clean "share/doc" def install system "autoconf" if build.head? @@ -23,6 +23,10 @@ class Fish < Formula system "make", "install" end + def post_install + system "pkill fishd || true" + end + test do system "#{bin}/fish", "-c", "echo" end |
