From c2e54529843bdbabd75f28aa5dc1550c429a758e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luka=CC=81s=CC=8C=20Dvor=CC=8Ca=CC=81k?= Date: Thu, 31 Dec 2015 12:03:35 +0100 Subject: [PATCH] syncthing-inotify 0.6.7 Closes Homebrew/homebrew#47558. Signed-off-by: Baptiste Fontaine --- Formula/syncthing-inotify.rb | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/Formula/syncthing-inotify.rb b/Formula/syncthing-inotify.rb index 5757f39ef4..88333b6cda 100644 --- a/Formula/syncthing-inotify.rb +++ b/Formula/syncthing-inotify.rb @@ -3,8 +3,10 @@ require "language/go" class SyncthingInotify < Formula desc "File watcher intended for use with Syncthing" homepage "https://github.com/syncthing/syncthing-inotify" - url "https://github.com/syncthing/syncthing-inotify/archive/v0.6.5.tar.gz" - sha256 "430297896bb05396268fd29cc555eba6542b42263489784c9843f4daf625ac5c" + url "https://github.com/syncthing/syncthing-inotify/archive/v0.6.7.tar.gz" + sha256 "33f51b34906548fe69b4aab2dbbb24397b523b357d4c9137324c1fddda9022b0" + + head "https://github.com/syncthing/syncthing-inotify.git" bottle do cellar :any @@ -17,7 +19,7 @@ class SyncthingInotify < Formula go_resource "github.com/cenkalti/backoff" do url "https://github.com/cenkalti/backoff.git", - :revision => "6c45d6bc1e78d94431dff8fc28a99f20bafa355a" # not sure ! + :revision => "4dc77674aceaabba2c7e3da25d4c823edfb73f99" # not sure ! end go_resource "github.com/zillode/notify" do @@ -27,10 +29,9 @@ class SyncthingInotify < Formula def install ENV["GOPATH"] = buildpath - ENV.append_path "PATH", buildpath bin_name = "syncthing-inotify" Language::Go.stage_deps resources, buildpath/"src" - system "go", "build", "-o", bin_name + system "go", "build", "-ldflags", "-w -X main.Version #{version}", "-o", bin_name bin.install bin_name end