66022ab209
Closes: #8579 [via git-merge-pr]
24 lines
1,018 B
Bash
24 lines
1,018 B
Bash
# Template file for 'leiningen'
|
|
pkgname=leiningen
|
|
version=2.8.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="7c6ca968f365e0a0893781b1eb03f920695ed8982ac7dbc2803a3188fbd75242
|
|
fc49bbc7ff25ef42ad9c0a8b5f3d0641702abc9a9a8e847bc845bca4c09a7c58"
|
|
|
|
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
|
|
}
|