leiningen: update to 2.10.0.

This commit is contained in:
Adam Frey 2023-01-23 15:14:37 -05:00 committed by classabbyamp
parent 82304842f1
commit f3653cbe40
1 changed files with 12 additions and 10 deletions

View File

@ -1,23 +1,25 @@
# Template file for 'leiningen'
pkgname=leiningen
version=2.9.5
version=2.10.0
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="Orphaned <orphan@voidlinux.org>"
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="a29b45966e5cc1a37d5dc07fe436ed7cb172c88c53d44a049956ff53a096d43e
df490c98bfe8d667bc5d83b80238528877234c285d0d48f61a4c8743c2db1eea"
skip_extraction="leiningen-${version}-standalone.zip"
maintainer="Adam Frey <adam@adamfrey.me>"
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}"
do_install() {
vbin bin/lein-pkg lein
vman doc/lein.1
vinstall ${XBPS_SRCDISTDIR}/${pkgname}-${version}/leiningen-${version}-standalone.zip \
vinstall ${XBPS_SRCDISTDIR}/${pkgname}-${version}/${_jar_id} \
644 usr/share/java leiningen-${version}-standalone.jar
vcompletion zsh_completion.zsh zsh lein
vcompletion bash_completion.bash bash lein