From 904f08940b30def639bb4187d5534186acd8990d Mon Sep 17 00:00:00 2001 From: Jimmy Thrasher Date: Tue, 24 Mar 2015 09:51:42 -0400 Subject: [PATCH 1/2] Add homebrew head-only recipe to contrib/ --- contrib/kakoune.rb | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 contrib/kakoune.rb diff --git a/contrib/kakoune.rb b/contrib/kakoune.rb new file mode 100644 index 00000000..3dfbbc48 --- /dev/null +++ b/contrib/kakoune.rb @@ -0,0 +1,14 @@ +require "formula" + +class Kakoune < Formula + homepage "https://github.com/mawww/kakoune" + head "https://github.com/mawww/kakoune.git" + + depends_on 'boost' + + def install + cd 'src' do + system "make", "install", "PREFIX=#{prefix}" + end + end +end From 187c4d7ba3ecf2a3892665bdab12dffde2c34f5f Mon Sep 17 00:00:00 2001 From: Jimmy Thrasher Date: Tue, 24 Mar 2015 09:56:16 -0400 Subject: [PATCH 2/2] Add simple instructions for homebrew installation (OSX) --- README.asciidoc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.asciidoc b/README.asciidoc index 97e571e1..3c73d30c 100644 --- a/README.asciidoc +++ b/README.asciidoc @@ -104,6 +104,13 @@ a symbolic link to the $PREFIX/share/kak/rc directory. ln -s /usr/share/kak/rc ~/.config/kak/autoload ---------------------------------------------- +Homebrew (OSX) +~~~~~~~~~~~~~~ + +----------------------------------------------------------------------------------------------- +brew install --HEAD https://raw.githubusercontent.com/mawww/kakoune/homebrew/contrib/kakoune.rb +----------------------------------------------------------------------------------------------- + Running -------