void-packages/srcpkgs/gradle/template
2020-06-03 20:27:39 +02:00

21 lines
653 B
Bash

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