diff options
| author | Alyssa Ross <hi@alyssa.is> | 2018-01-28 19:48:43 +0000 |
|---|---|---|
| committer | Alyssa Ross <hi@alyssa.is> | 2018-02-04 10:20:40 +0000 |
| commit | 5a1cd1487e441c079881bc817e98da12e0e21250 (patch) | |
| tree | c7b891365b4408578a9a4f1f3b558bfb12bbbf67 /contrib | |
| parent | 08f5d1317ddd448f9ab2beb67a650417b3a5f23c (diff) | |
Various Homebrew formula improvements
* Add missing dependencies on Linux
* Remove unnecessary option. Hasn't been necessary since
Homebrew/homebrew-core@90aae3e04c9af9d834c16c6820aff930fed5c3f4.
* `require "formula"` is unnecessary
* `brew audit --strict` warns on single quotes
Diffstat (limited to 'contrib')
| -rw-r--r-- | contrib/kakoune.rb | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/contrib/kakoune.rb b/contrib/kakoune.rb index 1341c15b..e13f36fe 100644 --- a/contrib/kakoune.rb +++ b/contrib/kakoune.rb @@ -1,17 +1,20 @@ -require "formula" - 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, 'with-docbook-xsl'] + 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 + cd "src" do system "make", "install", "PREFIX=#{prefix}", "debug=no" end end |
