void-packages/srcpkgs/gradle/template

23 lines
651 B
Bash
Raw Normal View History

2015-04-07 11:06:30 +00:00
# Template file for 'gradle'
pkgname=gradle
version=2.6
2015-04-07 11:06:30 +00: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"
checksum=18a98c560af231dfa0d3f8e0802c20103ae986f12428bb0a6f5396e8f14e9c83
2015-04-07 11:06:30 +00: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/
}