leiningen: update to 2.9.5.

This commit is contained in:
Nathan Owens 2020-12-09 17:22:12 -06:00 committed by Érico Nogueira Rolim
parent b370e1071e
commit d70099c356
2 changed files with 8 additions and 28 deletions

View File

@ -1,21 +0,0 @@
From 7677dabea40a2d17a42a718ca8c7e450b09e153c Mon Sep 17 00:00:00 2001
From: Phil Hagelberg <phil@hagelb.org>
Date: Wed, 8 Jul 2020 14:31:03 -0700
Subject: [PATCH] Fix missing quote in bin/lein-pkg.
Fixes #2691
---
bin/lein-pkg | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- bin/lein-pkg
+++ bin/lein-pkg
@@ -86,7 +86,7 @@ if [ -r .lein-fast-trampoline ]; then
fi
if [ "$LEIN_FAST_TRAMPOLINE" != "" ] && [ -r project.clj ]; then
- INPUTS="$* $(cat project.clj) $LEIN_VERSION $(test -f "$LEIN_HOME/profiles.clj" && cat "$LEIN_HOME/profiles.clj") $(test -f profiles.clj && cat profiles.clj)
+ INPUTS="$* $(cat project.clj) $LEIN_VERSION $(test -f "$LEIN_HOME/profiles.clj" && cat "$LEIN_HOME/profiles.clj") $(test -f profiles.clj && cat profiles.clj)"
if command -v shasum >/dev/null 2>&1; then
SUM="shasum"

View File

@ -1,7 +1,7 @@
# Template file for 'leiningen'
pkgname=leiningen
version=2.9.4
revision=2
version=2.9.5
revision=1
depends="bash virtual?java-runtime"
short_desc="Automate Clojure projects without setting your hair on fire"
maintainer="Orphaned <orphan@voidlinux.org>"
@ -9,15 +9,16 @@ 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="be1b1e43c5376f2fdc8666aeb671df16c19776d5cfe64339292a3d35ce3a7faa
0e3c339480347df0445317d329accbd4a578ebbd8d91e568e661feb1b388706c"
checksum="a29b45966e5cc1a37d5dc07fe436ed7cb172c88c53d44a049956ff53a096d43e
df490c98bfe8d667bc5d83b80238528877234c285d0d48f61a4c8743c2db1eea"
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
vinstall ${XBPS_SRCDISTDIR}/${pkgname}-${version}/leiningen-${version}-standalone.zip \
644 usr/share/java leiningen-${version}-standalone.jar
vcompletion zsh_completion.zsh zsh lein
vcompletion bash_completion.bash bash lein
}