diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/pulse.rb | 60 | ||||
| -rw-r--r-- | Library/Homebrew/tap_migrations.rb | 1 |
2 files changed, 1 insertions, 60 deletions
diff --git a/Library/Formula/pulse.rb b/Library/Formula/pulse.rb deleted file mode 100644 index 021a7201b..000000000 --- a/Library/Formula/pulse.rb +++ /dev/null @@ -1,60 +0,0 @@ -class Pulse < Formula - homepage "https://ind.ie/pulse/" - url "https://source.ind.ie/project/pulse.git", :tag => "0.1.4" - head "https://source.ind.ie/project/pulse.git" - - bottle do - sha1 "4d6954c4467e73a6fc341b6321fd063a3ed96b4d" => :yosemite - sha1 "afe5f7172c2d83529c9c922ef173b6fc85f59456" => :mavericks - sha1 "e2a0f268ad9a5fe754a7c9f1afa9b0a36603b9dd" => :mountain_lion - end - - depends_on "go" => :build - depends_on :hg => :build - - def install - ENV["GOPATH"] = cached_download/".gopath" - ENV.append_path "PATH", "#{ENV["GOPATH"]}/bin" - - # FIXTHIS: do this without mutating the cache! - hack_dir = cached_download/".gopath/src/source.ind.ie/project/" - rm_rf hack_dir - mkdir_p hack_dir - ln_s cached_download, "#{hack_dir}/pulse" - ENV["GIT_DIR"] = cached_download/".git" - - system "./build.sh", "noupgrade" - prefix.install %w{ CONTRIBUTING.md LICENSE README.md } - bin.install "pulse" - end - - def plist; <<-EOS.undent - <?xml version="1.0" encoding="UTF-8"?> - <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> - <plist version="1.0"> - <dict> - <key>EnvironmentVariables</key> - <dict> - <key>STNORESTART</key> - <string>yes</string> - </dict> - <key>KeepAlive</key> - <true/> - <key>Label</key> - <string>#{plist_name}</string> - <key>ProgramArguments</key> - <array> - <string>#{opt_bin}/pulse</string> - <string>-no-browser</string> - </array> - <key>RunAtLoad</key> - <true/> - </dict> - </plist> - EOS - end - - test do - system "#{bin}/pulse", "-generate", "./" - end -end diff --git a/Library/Homebrew/tap_migrations.rb b/Library/Homebrew/tap_migrations.rb index 038d27418..e6610eb1e 100644 --- a/Library/Homebrew/tap_migrations.rb +++ b/Library/Homebrew/tap_migrations.rb @@ -117,6 +117,7 @@ TAP_MIGRATIONS = { "pjsip" => "homebrew/boneyard", "pocl" => "homebrew/science", "prooftree" => "homebrew/x11", + "pulse" => "homebrew/boneyard", "py3cairo" => "homebrew/x11", "pyxplot" => "homebrew/x11", "qfits" => "homebrew/boneyard", |
