25 lines
1018 B
Bash
25 lines
1018 B
Bash
# Template file for 'leiningen'
|
|
pkgname=leiningen
|
|
version=2.7.1
|
|
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/${pkgname}/archive/${version}.tar.gz
|
|
https://github.com/technomancy/${pkgname}/releases/download/${version}/leiningen-${version}-standalone.zip"
|
|
skip_extraction="leiningen-${version}-standalone.zip"
|
|
checksum="953c95c2656c46320c88dc683202030fdd9554e8390a4b4aaaba6d019088df6f
|
|
2ddc7e89bbb45cf1ca3d666a10dce0d3f154b77ad201aa58f430e84e71587c47"
|
|
|
|
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
|
|
}
|