homebrew-core/Formula/buku.rb

26 lines
910 B
Ruby
Raw Normal View History

class Buku < Formula
desc "Command-line bookmark manager"
homepage "https://github.com/jarun/Buku"
url "https://github.com/jarun/Buku/archive/1.9.tar.gz"
sha256 "0bac6f4f1b6bcca4eea639a3a6ff22c4937f22fc49271bb610f8b25ddbf890e2"
2016-03-16 04:09:17 +00:00
bottle do
cellar :any_skip_relocation
2016-04-22 19:30:58 +00:00
sha256 "b950c782bece56e63bac91997cc8a2a5d2a48fb5be9b272a50631dc150b896e2" => :el_capitan
sha256 "c9f968aa2e58c58deae937b0e3054ec787461816e9d1b1fcf869cfa9a9840746" => :yosemite
sha256 "e2ff69c1162642311edddac73ef1f6a342a2b6446689937f62b65d2784f57093" => :mavericks
2016-03-16 04:09:17 +00:00
end
depends_on :python3
def install
system "make", "install", "PREFIX=#{prefix}"
end
test do
ENV["XDG_DATA_HOME"] = "#{testpath}/.local/share"
system "#{bin}/buku", "-a", "https://github.com/Homebrew/homebrew"
assert_match %r{https://github.com/Homebrew/homebrew}, shell_output("#{bin}/buku -s github </dev/null")
end
end