Merge remote-tracking branch 'alyssais/linuxbrew'

This commit is contained in:
Maxime Coste 2018-06-03 12:19:44 +10:00
commit e1aeebc005
2 changed files with 1 additions and 22 deletions

View File

@ -122,7 +122,7 @@ its source directory, type *make install*, you can specify the `PREFIX` and
`DESTDIR` if needed. `DESTDIR` if needed.
[TIP] [TIP]
.Homebrew (macOS) .Homebrew (macOS) or Linuxbrew
==== ====
--------------------------------- ---------------------------------
brew install kakoune brew install kakoune

View File

@ -1,21 +0,0 @@
class Kakoune < Formula
homepage "https://github.com/mawww/kakoune"
head "https://github.com/mawww/kakoune.git"
depends_on "docbook-xsl" => :build
depends_on "ncurses" => [:build, :recommended]
depends_on "asciidoc" => :build
unless OS.mac?
depends_on "libxslt" => :build
depends_on "pkg-config" => :build
end
def install
ENV["XML_CATALOG_FILES"] = "#{etc}/xml/catalog"
cd "src" do
system "make", "install", "PREFIX=#{prefix}", "debug=no"
end
end
end