homebrew-core/Formula/dub.rb
Brett Koonce 086fb23fae dub v0.9.18
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-09-16 19:33:17 -07:00

21 lines
444 B
Ruby

require 'formula'
class Dub < Formula
homepage 'http://registry.vibed.org/'
url 'https://github.com/rejectedsoftware/dub/archive/v0.9.18.tar.gz'
sha1 'a848d5b461eb95acc604d82de154922d3892888b'
head 'https://github.com/rejectedsoftware/dub.git'
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