22 lines
691 B
Bash
22 lines
691 B
Bash
# Template file for 'gradle'
|
|
pkgname=gradle
|
|
version=6.0.1
|
|
revision=1
|
|
archs=noarch
|
|
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="https://gradle.org/"
|
|
changelog="https://docs.gradle.org/${version}/release-notes.html"
|
|
distfiles="https://services.gradle.org/distributions/gradle-${version}-bin.zip"
|
|
checksum=d364b7098b9f2e58579a3603dc0a12a1991353ac58ed339316e6762b21efba44
|
|
|
|
do_install() {
|
|
vmkdir "usr/lib/gradle"
|
|
sed ${FILESDIR}/gradle -e "s;@VERSION@;${version};" > gradle
|
|
vbin gradle
|
|
vdoc getting-started.html
|
|
mv lib ${DESTDIR}/usr/lib/gradle/
|
|
}
|