mirror of
https://github.com/mawww/kakoune.git
synced 2024-12-22 02:51:32 +03:00
19 lines
443 B
Ruby
19 lines
443 B
Ruby
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']
|
|
|
|
def install
|
|
ENV["XML_CATALOG_FILES"] = "#{etc}/xml/catalog"
|
|
|
|
cd 'src' do
|
|
system "make", "install", "PREFIX=#{prefix}", "debug=no"
|
|
end
|
|
end
|
|
end
|