leiningen: update to 2.6.1 (#4254)

Switched to using lein-pkg as the backing binary as it is designed for being
packaged.
This commit is contained in:
Timothy Hewitt 2016-06-01 05:22:47 -05:00 committed by Michael Gehring
parent 0db4a4bced
commit 8b5169579a
1 changed files with 8 additions and 4 deletions

View File

@ -1,6 +1,6 @@
# Template file for 'leiningen'
pkgname=leiningen
version=2.5.2
version=2.6.1
revision=1
noarch=yes
short_desc="Automate Clojure projects without setting your hair on fire"
@ -8,13 +8,17 @@ maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="EPL"
depends="bash virtual?java-runtime"
homepage="http://leiningen.org/"
distfiles="https://github.com/technomancy/leiningen/archive/${version}.tar.gz"
checksum=50cd21d718603bfa4b6da673696c60482271d310f67b98a794d0413a79121a9d
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
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
}