25 lines
697 B
Bash
25 lines
697 B
Bash
# Template file for 'gradle'
|
|
pkgname=gradle
|
|
version=4.6
|
|
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=98bd5fd2b30e070517e03c51cbb32beee3e2ee1a84003a5a5d748996d4b1b915
|
|
|
|
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/
|
|
}
|