void-packages/srcpkgs/gradle/template

24 lines
703 B
Bash

# Template file for 'gradle'
pkgname=gradle
version=5.6.2
revision=1
archs=noarch
hostmakedepends="unzip"
depends="virtual?java-environment"
short_desc="Build system for Java/C/C++ software"
maintainer="Adrian Siekierka <kontakt@asie.pl>"
license="Apache-2.0"
homepage="https://gradle.org/"
changelog="https://docs.gradle.org/${version}/release-notes.html"
distfiles="https://services.gradle.org/distributions/gradle-${version}-bin.zip"
checksum=32fce6628848f799b0ad3205ae8db67d0d828c10ffe62b748a7c0d9f4a5d9ee0
nocross=yes
do_install() {
vmkdir "usr/lib/gradle"
sed ${FILESDIR}/gradle -e "s;@VERSION@;${version};" > gradle
vbin gradle
vdoc getting-started.html
mv lib ${DESTDIR}/usr/lib/gradle/
}