homebrew-core/Formula/funcoeszz.rb
Alex Dunn a88aeb188f funcoeszz 15.5
Adjusted installation based on upstream instructions: http://funcoeszz.net/download/

Closes Homebrew/homebrew#43626.
2015-09-06 08:22:18 -07:00

25 lines
671 B
Ruby

class Funcoeszz < Formula
desc "Dozens of command-line mini-applications (Portuguese)"
homepage "http://funcoeszz.net/"
url "http://funcoeszz.net/download/funcoeszz-15.5.sh"
sha256 "13e6347018b43c54f5032d4700d45255f7e26e1e8f1eacb25e324d4fbe07e15d"
depends_on "bash"
def install
bin.install "funcoeszz-#{version}.sh" => "funcoeszz"
end
def caveats; <<-EOS.undent
To use this software add to your profile:
export ZZPATH="#{opt_bin}/funcoeszz"
source "$ZZPATH"
Usage of a newer Bash than the OS X default is required.
EOS
end
test do
assert_equal "15", shell_output("#{bin}/funcoeszz zzcalcula 10+5").chomp
end
end