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