23 lines
700 B
Bash
23 lines
700 B
Bash
# Template file for 'gradle'
|
|
pkgname=gradle
|
|
version=2.11
|
|
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="http://gradle.org/"
|
|
distfiles="https://services.gradle.org/distributions/gradle-${version}-bin.zip"
|
|
checksum=8d7437082356c9fd6309a4479c8db307673965546daea445c6c72759cd6b1ed6
|
|
|
|
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 changelog.txt ${DESTDIR}/usr/share/doc/gradle
|
|
mv lib ${DESTDIR}/usr/lib/gradle/
|
|
}
|