void-packages/srcpkgs/leiningen/template

25 lines
955 B
Bash

# Template file for 'leiningen'
pkgname=leiningen
version=2.9.5
revision=1
depends="bash virtual?java-runtime"
short_desc="Automate Clojure projects without setting your hair on fire"
maintainer="Orphaned <orphan@voidlinux.org>"
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="a29b45966e5cc1a37d5dc07fe436ed7cb172c88c53d44a049956ff53a096d43e
df490c98bfe8d667bc5d83b80238528877234c285d0d48f61a4c8743c2db1eea"
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
vcompletion zsh_completion.zsh zsh lein
vcompletion bash_completion.bash bash lein
}