void-packages/srcpkgs/leiningen/template

27 lines
962 B
Bash

# Template file for 'leiningen'
pkgname=leiningen
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="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}/${_jar_id} \
644 usr/share/java leiningen-${version}-standalone.jar
vcompletion zsh_completion.zsh zsh lein
vcompletion bash_completion.bash bash lein
}