# Template file for 'gradle' pkgname=gradle version=3.1 revision=1 noarch=yes nocross=yes hostmakedepends="unzip" depends="virtual?java-environment" short_desc="Build system for Java/C/C++ software" maintainer="Adrian Siekierka " license="Apache-2.0" homepage="http://gradle.org/" distfiles="https://services.gradle.org/distributions/gradle-${version}-bin.zip" checksum=c7de3442432253525902f7e8d7eac8b5fd6ce1623f96d76916af6d0e383010fc do_install() { vmkdir "usr/lib/gradle" vmkdir "usr/share/doc/gradle" sed ${FILESDIR}/gradle -e "s;@VERSION@;${version};" > gradle vbin gradle cp -v getting-started.html changelog.txt ${DESTDIR}/usr/share/doc/gradle mv lib ${DESTDIR}/usr/lib/gradle/ }