Skip to content

Commit

Permalink
groovyserv 1.0.0
Browse files Browse the repository at this point in the history
Closes Homebrew/legacy-homebrew#33929.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
  • Loading branch information
Yasuharu Nakano authored and MikeMcQuaid committed Nov 5, 2014
1 parent 67fbfbb commit d4ca3e8
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions Formula/groovyserv.rb
Expand Up @@ -2,22 +2,23 @@

class Groovyserv < Formula
homepage 'http://kobo.github.io/groovyserv/'
url 'https://bitbucket.org/kobo/groovyserv-mirror/downloads/groovyserv-0.13-src.zip'
sha1 '68e4d80b8309b71849d46590d9122a5fee2d36c3'
url 'https://bitbucket.org/kobo/groovyserv-mirror/downloads/groovyserv-1.0.0-src.zip'
sha1 '46b946dee3e40457e667498b235bd8e1567ed9ed'

head 'https://github.com/kobo/groovyserv.git'
depends_on "go" => :build

# This fix is upstream and can be removed in the next released version.
patch do
url "https://github.com/kobo/groovyserv/commit/53b77ab2b4a7bcf6e232bc54f4e50e8b78d3006a.diff"
sha1 "59bec0eb24c582670781af277cc64c6fe13b11db"
url "https://github.com/kobo/groovyserv/commit/4ea88fbfe940b50801be5e0b0bc84cd0ce627530.diff"
sha1 "2fe73bbed1778075a84dec43d462f69154cdb602"
end

def install
system './gradlew clean executables'

# Install executables in libexec to avoid conflicts
libexec.install Dir["build/executables/native/{bin,lib}"]
libexec.install Dir["build/executables/{bin,lib}"]

# Remove windows files
rm_f Dir["#{libexec}/bin/*.bat"]
Expand Down

0 comments on commit d4ca3e8

Please sign in to comment.