syncthing 1.1.0

Closes #37632.

Signed-off-by: FX Coudert <fxcoudert@gmail.com>
This commit is contained in:
Igor Kapkov 2019-03-06 08:37:18 +11:00 committed by FX Coudert
parent 43f22eccd9
commit a195486de6

View file

@ -2,8 +2,8 @@ class Syncthing < Formula
desc "Open source continuous file synchronization application"
homepage "https://syncthing.net/"
url "https://github.com/syncthing/syncthing.git",
:tag => "v1.0.1",
:revision => "1e69997ecdbf87ceaad76bd0149d98f560f4fdb5"
:tag => "v1.1.0",
:revision => "f0f79a3e3e861b79da2b09f563e9d373255419f0"
head "https://github.com/syncthing/syncthing.git"
bottle do
@ -16,10 +16,12 @@ class Syncthing < Formula
depends_on "go" => :build
def install
ENV["GO111MODULE"] = "on"
ENV["GOPATH"] = buildpath
(buildpath/"src/github.com/syncthing/syncthing").install buildpath.children
ENV.append_path "PATH", buildpath/"bin"
cd "src/github.com/syncthing/syncthing" do
src = buildpath/"src/github.com/syncthing/syncthing"
src.install buildpath.children
src.cd do
system "./build.sh", "noupgrade"
bin.install "syncthing"
man1.install Dir["man/*.1"]