dub 0.9.20

Closes Homebrew/homebrew#25367.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
Brett Koonce 2013-12-20 16:13:36 -06:00 committed by Mike McQuaid
parent afb70bb1d5
commit 25368bc0f8

View file

@ -2,22 +2,14 @@ require 'formula'
class Dub < Formula
homepage 'http://registry.vibed.org/'
url 'https://github.com/rejectedsoftware/dub/archive/v0.9.19.tar.gz'
sha1 'dcf880029190180a1a4a4753237c0eb164941c98'
url 'https://github.com/rejectedsoftware/dub/archive/v0.9.20.tar.gz'
sha1 '9fb51e7daf93153d81b2fb7e6e72654c0c19a501'
head 'https://github.com/rejectedsoftware/dub.git'
depends_on 'pkg-config' => :build
depends_on 'dmd' => :build
# patch is in upstream master
def patches
[
"https://github.com/rejectedsoftware/dub/commit/0e91afd52babf96128be43120dfd5f9a38b4d202.patch",
"https://github.com/rejectedsoftware/dub/commit/b08454b6baa5c7e9e2d5a21c943c21cb986fff23.patch",
]
end
def install
system "./build.sh"
bin.install 'bin/dub'