Skip to content

Instantly share code, notes, and snippets.

@j-wilkins
Created February 6, 2013 19:32
Show Gist options
  • Save j-wilkins/4725090 to your computer and use it in GitHub Desktop.
Save j-wilkins/4725090 to your computer and use it in GitHub Desktop.
Homebrew formula for installing tmux-MacOSX-pasteboard.
require 'formula'
class TmuxMacosxPasteboard < Formula
homepage 'https://github.com/ChrisJohnsen/tmux-MacOSX-pasteboard'
url 'https://github.com/ChrisJohnsen/tmux-MacOSX-pasteboard/archive/v2.0.tar.gz'
sha1 'bf9342ccc1240f628fcfab887d99a61ff701446f'
def install
system 'make'
"#{prefix}/bin".tap do |bin_dir|
system "mkdir #{bin_dir}"
system "cp reattach-to-user-namespace #{bin_dir}/reattach-to-user-namespace"
end
end
def test
system "true"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment