void-packages/srcpkgs/gradle/template
Mariell Hoversholm 9468c33ddc gradle: update to 6.7.1.
Closes: #25696 [via git-merge-pr]
2020-12-20 02:15:07 -03:00

20 lines
640 B
Bash

# Template file for 'gradle'
pkgname=gradle
version=6.7.1
revision=1
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=3239b5ed86c3838a37d983ac100573f64c1f3fd8e1eb6c89fa5f9529b5ec091d
do_install() {
vmkdir "usr/lib/gradle"
sed ${FILESDIR}/gradle -e "s;@VERSION@;${version};" > gradle
vbin gradle
vdoc README
mv lib ${DESTDIR}/usr/lib/gradle/
}