25 lines
1018 B
Bash
25 lines
1018 B
Bash
# Template file for 'leiningen'
|
|
pkgname=leiningen
|
|
version=2.7.0
|
|
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="db2069e9a87c72c7f83934e3068dc4b28c688115f7869056c4150392abc54c3d
|
|
b0a53fd9fa73e9d87c04ef25ba1ca174b0c062b803108648d7157176ccde7435"
|
|
|
|
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
|
|
}
|