Commit d7324bff authored by Ed Reel's avatar Ed Reel Committed by Chris Thurber

Add leiningen package (#3283)

Add postinstall section

Add uninstall note to the postinstall section

Add leiningen to the exclusions list in needs_binaries.sh
parent 194ffc77
require 'package'
class Leiningen < Package
description 'for automating Clojure projects without setting your hair on fire'
homepage 'https://leiningen.org/'
version '2.9.1'
source_url 'https://github.com/technomancy/leiningen/archive/2.9.1.tar.gz'
source_sha256 'a4c239b407576f94e2fef5bfa107f0d3f97d0b19c253b08860d9609df4ab8b29'
binary_url ({
})
binary_sha256 ({
})
depends_on 'clojure'
def self.install
system "install -Dm755 bin/lein #{CREW_DEST_PREFIX}/bin/lein"
end
def self.postinstall
puts
puts "To start using leiningen, type 'lein'.".lightblue
puts
puts "To uninstall leiningen, execute the following:".lightblue
puts "crew remove leiningen".lightblue
puts "rm -rf ~/.lein".lightblue
puts
end
end
......@@ -12,6 +12,7 @@ exclusions+=' qt.rb sl.rb spark.rb stack.rb sublime_merge.rb sublime_text.rb the
exclusions+=' neofetch.rb perl_gcstring_linebreak.rb perl_io_socket_ssl.rb perl_locale_gettext.rb perl_locale_messages.rb perl_module_build.rb'
exclusions+=' perl_read_key.rb perl_sgmls.rb perl_term_ansicolor.rb perl_text_charwidth.rb perl_text_unidecode.rb perl_text_wrapi18n.rb'
exclusions+=' perl_time_hires.rb perl_unicode_eastasianwidth.rb perl_xml_parser.rb perl_xml_sax_parserfactory.rb perl_xml_simple.rb'
exclusions+=' leiningen.rb v2ray.rb'
if [[ "${arch}" == 'aarch64' || "${arch}" == 'armv7l' ]]; then
exclusions+=' az.rb cf.rb clisp.rb dropbox.rb freebasic.rb miniconda3.rb misctools.rb oci.rb wkhtmltox.rb xorg_intel_driver.rb xorg_vmmouse_driver.rb'
fi
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment