leiningen: update to 2.11.2.

This commit is contained in:
icp 2024-03-04 19:23:02 +05:30 committed by Andrew J. Hesford
parent e6ecee62bc
commit 689ef11d7c
1 changed files with 9 additions and 8 deletions

View File

@ -1,8 +1,7 @@
# Template file for 'leiningen'
pkgname=leiningen
version=2.10.0
version=2.11.2
revision=1
_jar_id=43cebda5-a7c2-405b-b641-5143a00051b5
depends="bash virtual?java-runtime"
short_desc="Automate Clojure projects without setting your hair on fire"
maintainer="Adam Frey <adam@adamfrey.me>"
@ -10,17 +9,19 @@ license="EPL-1.0"
homepage="https://leiningen.org/"
changelog="https://codeberg.org/leiningen/leiningen/raw/branch/main/NEWS.md"
distfiles="https://codeberg.org/leiningen/leiningen/archive/${version}.tar.gz
https://codeberg.org/attachments/${_jar_id}"
checksum="6b04dbe0934ab4c34dc27b0055ad290d2ba9c0f454c1bda7defa58d62946b743
d27299bad34075ac2864d0bd0559f835c6e2c476c0b0a283bcbdb574fdadbb34"
skip_extraction="${_jar_id}"
https://codeberg.org/leiningen/leiningen/releases/download/${version}/leiningen-${version}-standalone.jar"
checksum="b8dd330040ed473183fbc4a8bc404ec54f92f818172e0c3996d7c65ab7940a1e
7d31ae23ae769e927438b0cd55d15a93e7dabab09fd4fc15877979161e108774"
skip_extraction="leiningen-${version}-standalone.jar"
do_install() {
vbin bin/lein-pkg lein
vman doc/lein.1
vinstall ${XBPS_SRCDISTDIR}/${pkgname}-${version}/${_jar_id} \
644 usr/share/java leiningen-${version}-standalone.jar
vmkdir usr/share/java
vinstall "${XBPS_SRCDISTDIR}/leiningen-${version}/leiningen-${version}-standalone.jar" \
644 usr/share/java
vcompletion zsh_completion.zsh zsh lein
vcompletion bash_completion.bash bash lein
}