Merge remote-tracking branch 'alyssais/linuxbrew'
This commit is contained in:
commit
e1aeebc005
|
@ -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
|
||||||
|
|
|
@ -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
|
|
Loading…
Reference in New Issue
Block a user