23 lines
651 B
Bash
23 lines
651 B
Bash
# Template file for 'gradle'
|
|
pkgname=gradle
|
|
version=2.7
|
|
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=cde43b90945b5304c43ee36e58aab4cc6fb3a3d5f9bd9449bb1709a68371cb06
|
|
|
|
do_install() {
|
|
vmkdir "usr/lib/gradle"
|
|
vmkdir "usr/share/doc/gradle"
|
|
vbin ${FILESDIR}/gradle
|
|
|
|
cp -v getting-started.html changelog.txt ${DESTDIR}/usr/share/doc/gradle
|
|
mv lib ${DESTDIR}/usr/lib/gradle/
|
|
}
|