void-packages/srcpkgs/gradle/template
maxice8 b6a92fa5f4 gradle: update to 4.7.
Closes #13596.

Signed-off-by: Enno Boland <gottox@voidlinux.eu>
2018-04-18 23:20:11 +02:00

24 lines
697 B
Bash

# Template file for 'gradle'
pkgname=gradle
version=4.7
revision=1
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="http://gradle.org/"
distfiles="https://services.gradle.org/distributions/gradle-${version}-bin.zip"
checksum=fca5087dc8b50c64655c000989635664a73b11b9bd3703c7d6cabd31b7dcdb04
nocross=yes
noarch=yes
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 ${DESTDIR}/usr/share/doc/gradle
mv lib ${DESTDIR}/usr/lib/gradle/
}