homebrew-core/Formula/dub.rb
John Colvin f4b5ac7caa dub 0.9.24-rc2 (devel)
Closes Homebrew/homebrew#42140.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-07-27 05:37:39 +01:00

32 lines
1,019 B
Ruby

class Dub < Formula
desc "Build tool for D projects"
homepage "http://code.dlang.org/about"
url "https://github.com/D-Programming-Language/dub/archive/v0.9.23.tar.gz"
sha256 "7ecbce89c0e48b43705d7c48003394f383556f33562c4b5d884a786cd85814d1"
bottle do
sha256 "e2613efeb8173e8f1beb2a4b1bf14baa70a4fa7781919c87be435bb1d55d8ae2" => :yosemite
sha256 "b108a54497cf52eb62d4aad877804630a26d47b59e606d300e7becb3a98be877" => :mavericks
sha256 "4afe785f25db496f8634c19211d68c7ea05778f9ed1e7e772f8aa9ac701beca1" => :mountain_lion
end
devel do
url "https://github.com/D-Programming-Language/dub/archive/v0.9.24-rc.2.tar.gz"
version "0.9.24-rc2"
sha256 "d6ed2ed16cc954aff3595dfdb0a9bb4a73ff64463b455d5baaa4fe2b30dd22c7"
end
head "https://github.com/D-Programming-Language/dub.git", :shallow => false
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