void-packages/srcpkgs/gradle/template
Adrian Siekierka ea8529e2ce gradle: update to 4.4.1.
Closes: #10693 [via git-merge-pr]
2018-01-27 11:13:50 +01:00

24 lines
699 B
Bash

# Template file for 'gradle'
pkgname=gradle
version=4.4.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 <kontakt@asie.pl>"
license="Apache-2.0"
homepage="http://gradle.org/"
distfiles="https://services.gradle.org/distributions/gradle-${version}-bin.zip"
checksum=e7cf7d1853dfc30c1c44f571d3919eeeedef002823b66b6a988d27e919686389
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/
}