# Template file for 'leiningen'
pkgname=leiningen
version=2.5.2
revision=1
noarch=yes
short_desc="Automate Clojure projects without setting your hair on fire"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="EPL"
depends="bash virtual?java-runtime"
homepage="http://leiningen.org/"
distfiles="https://github.com/technomancy/leiningen/archive/${version}.tar.gz"
checksum=50cd21d718603bfa4b6da673696c60482271d310f67b98a794d0413a79121a9d

do_install() {
	vbin bin/lein
	vman doc/lein.1

	vinstall zsh_completion.zsh 644 usr/share/zsh/site-functions _lein
	vinstall bash_completion.bash 644 usr/share/bash-completion/completions lein
}
