Merge pull request #255 from jjthrash/homebrew

Homebrew build script
This commit is contained in:
Maxime Coste 2015-03-24 13:58:29 +00:00
commit 1b08b79989
2 changed files with 21 additions and 0 deletions

View File

@ -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
-------

14
contrib/kakoune.rb Normal file
View File

@ -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