25 lines
766 B
Bash
25 lines
766 B
Bash
# Template file for 'gradle'
|
|
pkgname=gradle
|
|
version=4.8.1
|
|
revision=1
|
|
noarch=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="https://gradle.org/"
|
|
changelog="https://docs.gradle.org/${version}/release-notes.html"
|
|
distfiles="https://services.gradle.org/distributions/gradle-${version}-bin.zip"
|
|
checksum=af334d994b5e69e439ab55b5d2b7d086da5ea6763d78054f49f147b06370ed71
|
|
nocross=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/
|
|
}
|