homebrew-core/Formula/dub.rb
2016-05-24 16:09:05 +02:00

24 lines
758 B
Ruby

class Dub < Formula
desc "Build tool for D projects"
homepage "https://code.dlang.org/about"
url "https://github.com/dlang/dub.git", :tag => "v0.9.25", :revision => "777e0033e9ca502c134a6cca6b5a06d0e3f78617"
head "https://github.com/dlang/dub.git", :shallow => false
bottle do
sha256 "072b9fa9d4907e79978c78f573d3a487f7ea6ca567d813d8d7311d1c43fbffee" => :el_capitan
sha256 "dd641577df4e3a73fa797e97a268c606d0ba4160623bfa7ec0683c162fb8c578" => :yosemite
sha256 "1c05ee4b3f609f81cd1507e22706befa2b78b945b8e2a7560d86e0a13746e845" => :mavericks
end
depends_on "pkg-config" => :build
depends_on "dmd" => :build
def install
system "./build.sh"
bin.install "bin/dub"
end
test do
system "#{bin}/dub; true"
end
end