void-packages/srcpkgs/gradle/template
2020-02-24 09:03:08 +01:00

21 lines
651 B
Bash

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