2015-04-07 11:06:30 +00:00
|
|
|
# Template file for 'gradle'
|
|
|
|
pkgname=gradle
|
2016-03-14 21:18:52 +00:00
|
|
|
version=2.12
|
2015-11-28 20:18:20 +00:00
|
|
|
revision=1
|
|
|
|
noarch=yes
|
2015-04-07 11:06:30 +00:00
|
|
|
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"
|
2016-03-14 21:18:52 +00:00
|
|
|
checksum=e77064981906cd0476ff1e0de3e6fef747bd18e140960f1915cca8ff6c33ab5c
|
2015-04-07 11:06:30 +00:00
|
|
|
|
|
|
|
do_install() {
|
|
|
|
vmkdir "usr/lib/gradle"
|
|
|
|
vmkdir "usr/share/doc/gradle"
|
2015-11-03 15:15:22 +00:00
|
|
|
sed ${FILESDIR}/gradle -e "s;@VERSION@;${version};" > gradle
|
|
|
|
vbin gradle
|
2015-04-07 11:06:30 +00:00
|
|
|
|
|
|
|
cp -v getting-started.html changelog.txt ${DESTDIR}/usr/share/doc/gradle
|
|
|
|
mv lib ${DESTDIR}/usr/lib/gradle/
|
|
|
|
}
|