diff --git a/README.md b/README.md index 7a0462b..a5b430b 100644 --- a/README.md +++ b/README.md @@ -101,7 +101,7 @@ If you're a **Homebrew** user, then you can install it with a custom tap: ``` $ brew tap burntsushi/ripgrep https://github.com/BurntSushi/ripgrep.git -$ brew install burntsushi/ripgrep/ripgrep +$ brew install burntsushi/ripgrep/ripgrep-bin ``` If you're an **Arch Linux** user, then you can install `ripgrep` from the official repos: diff --git a/pkg/brew/ripgrep.rb b/pkg/brew/ripgrep-bin.rb similarity index 87% rename from pkg/brew/ripgrep.rb rename to pkg/brew/ripgrep-bin.rb index 70befd6..736bcbf 100644 --- a/pkg/brew/ripgrep.rb +++ b/pkg/brew/ripgrep-bin.rb @@ -1,10 +1,12 @@ -class Ripgrep < Formula +class RipgrepBin < Formula version '0.2.1' desc "Search tool like grep and The Silver Searcher." homepage "https://github.com/BurntSushi/ripgrep" url "https://github.com/BurntSushi/ripgrep/releases/download/#{version}/ripgrep-#{version}-x86_64-apple-darwin.tar.gz" sha256 "f8b208239b988708da2e58f848a75bf70ad144e201b3ed99cd323cc5a699625f" + conflicts_with "ripgrep" + def install bin.install "rg" man1.install "rg.1"