# Template file for 'leiningen' pkgname=leiningen version=2.9.1 revision=1 archs=noarch depends="bash virtual?java-runtime" short_desc="Automate Clojure projects without setting your hair on fire" maintainer="Juan RP " license="EPL-2.0" homepage="http://leiningen.org/" distfiles="https://github.com/technomancy/${pkgname}/archive/${version}.tar.gz https://github.com/technomancy/${pkgname}/releases/download/${version}/leiningen-${version}-standalone.zip" checksum="a4c239b407576f94e2fef5bfa107f0d3f97d0b19c253b08860d9609df4ab8b29 ea7c831a4f5c38b6fc3926c6ad32d1d4b9b91bf830a715ecff5a70a18bda55f8" skip_extraction="leiningen-${version}-standalone.zip" do_install() { vbin bin/lein-pkg lein vman doc/lein.1 vinstall ${XBPS_SRCDISTDIR}/${pkgname}-${version}/leiningen-${version}-standalone.zip 644 usr/share/java leiningen-${version}-standalone.jar vinstall zsh_completion.zsh 644 usr/share/zsh/site-functions _lein vinstall bash_completion.bash 644 usr/share/bash-completion/completions lein }