void-packages/srcpkgs/gradle/template

23 lines
651 B
Bash
Raw Normal View History

2015-04-07 13:06:30 +02:00
# Template file for 'gradle'
pkgname=gradle
2015-10-29 22:38:58 +01:00
version=2.8
2015-04-07 13:06:30 +02:00
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"
2015-10-29 22:38:58 +01:00
checksum=a88db9c2f104defdaa8011c58cf6cda6c114298ae3695ecfb8beb30da3a903cb
2015-04-07 13:06:30 +02:00
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/
}