From ce35a94a27f19126610f9a1f69c89b645974d08a Mon Sep 17 00:00:00 2001 From: Nathan Owens Date: Wed, 9 Dec 2020 17:22:12 -0600 Subject: [PATCH] leiningen: update to 2.9.5. --- srcpkgs/leiningen/patches/quote.patch | 21 --------------------- srcpkgs/leiningen/template | 15 ++++++++------- 2 files changed, 8 insertions(+), 28 deletions(-) delete mode 100644 srcpkgs/leiningen/patches/quote.patch diff --git a/srcpkgs/leiningen/patches/quote.patch b/srcpkgs/leiningen/patches/quote.patch deleted file mode 100644 index 4b2623003ee..00000000000 --- a/srcpkgs/leiningen/patches/quote.patch +++ /dev/null @@ -1,21 +0,0 @@ -From 7677dabea40a2d17a42a718ca8c7e450b09e153c Mon Sep 17 00:00:00 2001 -From: Phil Hagelberg -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" diff --git a/srcpkgs/leiningen/template b/srcpkgs/leiningen/template index 6d51d39df14..bed67800d0e 100644 --- a/srcpkgs/leiningen/template +++ b/srcpkgs/leiningen/template @@ -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 " @@ -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 }