25 lines
1022 B
Bash
25 lines
1022 B
Bash
# Template file for 'leiningen'
|
|
pkgname=leiningen
|
|
version=2.8.3
|
|
revision=1
|
|
noarch=yes
|
|
depends="bash virtual?java-runtime"
|
|
short_desc="Automate Clojure projects without setting your hair on fire"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
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="adabd2f0412a507ef0dbbcf59e91f6aa0a8b0de0348b98d7b2c63a80a0a37024
|
|
7f0aafc93b1e32e49b7b15beaeefdbd6521dabb3cdbe541225e2524a503b6b1e"
|
|
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
|
|
}
|