From 370be34b563d0cd7b5eb9aefb30af1f5794daec7 Mon Sep 17 00:00:00 2001 From: David Kocher Date: Wed, 1 Mar 2017 16:05:36 +0100 Subject: [PATCH] duck 5.3.8.23611 Closes #10484. Signed-off-by: JCount --- Formula/duck.rb | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Formula/duck.rb b/Formula/duck.rb index 3f64ab02a3..d506e98e6c 100644 --- a/Formula/duck.rb +++ b/Formula/duck.rb @@ -2,8 +2,8 @@ class Duck < Formula desc "Command-line interface for Cyberduck (a multi-protocol file transfer tool)" homepage "https://duck.sh/" # check the changelog for the latest stable version: https://cyberduck.io/changelog/ - url "https://dist.duck.sh/duck-src-4.7.3.18396.tar.gz" - sha256 "47e25f0a28393c388f37d319c9d51dd51eebdf15198ee48df3995af8a60bcc16" + url "https://dist.duck.sh/duck-src-5.3.8.23611.tar.gz" + sha256 "809b94dd1689a3b8473fe4e0ee329068aa361de82cf060cde9d3a0a2696f43f0" head "https://svn.cyberduck.io/trunk/" bottle do @@ -17,11 +17,13 @@ class Duck < Formula depends_on :java => ["1.8+", :build] depends_on :xcode => :build depends_on "ant" => :build + depends_on "maven" => :build def install + ENV.java_cache revision = version.to_s.rpartition(".").last - system "ant", "-Dbuild.compile.target=1.8", "-Drevision=#{revision}", "cli" - libexec.install Dir["build/duck.bundle/*"] + system "mvn", "-DskipTests", "-Dgit.commitsCount=#{revision}", "--projects", "cli/osx", "--also-make", "verify" + libexec.install Dir["cli/osx/target/duck.bundle/*"] bin.install_symlink "#{libexec}/Contents/MacOS/duck" => "duck" end