# Template file for 'gradle'
pkgname=gradle
version=8.10.1
revision=1
depends="virtual?java-environment"
short_desc="Build system for Java/C/C++ software"
maintainer="Bnyro <bnyro@tutanota.com>"
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=1541fa36599e12857140465f3c91a97409b4512501c26f9631fb113e392c5bd1

do_install() {
	vmkdir "usr/lib/gradle"
	sed ${FILESDIR}/gradle -e "s;@VERSION@;${version};" > gradle
	vbin gradle
	vdoc README
	mv lib ${DESTDIR}/usr/lib/gradle/
}
