8b5169579a
Switched to using lein-pkg as the backing binary as it is designed for being packaged.
24 lines
1,018 B
Bash
24 lines
1,018 B
Bash
# Template file for 'leiningen'
|
|
pkgname=leiningen
|
|
version=2.6.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="9e6a6c7b6e032921a37d5be8fcdc2c0288d3698f759e22bdd29de4eb327ebeab
|
|
d70078fba85d5f405d042a6d7bad3a1e5b4aafae565c2d581feb999e95ae6394"
|
|
|
|
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
|
|
}
|