Revert "hunspell 1.5.0"

This reverts commit 50f2e00a8d.
This commit is contained in:
ilovezfs 2016-11-27 05:09:37 -08:00
parent 12354e42b7
commit c4c52d1857

View file

@ -1,8 +1,9 @@
class Hunspell < Formula
desc "Spell checker and morphological analyzer"
homepage "https://hunspell.github.io"
url "https://github.com/hunspell/hunspell/archive/v1.5.0.tar.gz"
sha256 "b74f2df1aafdbc1f0941d721d7895da4b27b85bba7a4c699a9209477cbbf1f59"
url "https://github.com/hunspell/hunspell/archive/v1.4.1.tar.gz"
sha256 "c4476aff0ced52eec334eae1e8d3fdaaebdd90f5ecd0b57cf2a92a6fd220d1bb"
revision 1
bottle do
sha256 "d4cc7d577e89e8e67312821828978a5bfa812188f674a67b29cfbc7dc7695dac" => :sierra
@ -14,7 +15,18 @@ class Hunspell < Formula
conflicts_with "freeling", :because => "both install 'analyze' binary"
# hunspell does not prepend $HOME to all USEROODIRs
# https://github.com/hunspell/hunspell/issues/32
patch do
url "https://raw.githubusercontent.com/Homebrew/formula-patches/684440d/hunspell/prepend_user_home_to_useroodirs.diff"
sha256 "456186c9e569c51065e7df2a521e325d536ba4627d000ab824f7e97c1e4bc288"
end
def install
ENV.deparallelize
# The following line can be removed on release of next stable version
inreplace "configure", "1.4.0", "1.4.1"
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--with-ui",