void-packages/srcpkgs/gradle/template
2019-02-22 07:45:32 -03:00

25 lines
769 B
Bash

# Template file for 'gradle'
pkgname=gradle
version=4.10.3
revision=1
archs=noarch
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="https://gradle.org/"
changelog="https://docs.gradle.org/${version}/release-notes.html"
distfiles="https://services.gradle.org/distributions/gradle-${version}-bin.zip"
checksum=8626cbf206b4e201ade7b87779090690447054bc93f052954c78480fa6ed186e
nocross=yes
do_install() {
vmkdir "usr/lib/gradle"
vmkdir "usr/share/doc/gradle"
sed ${FILESDIR}/gradle -e "s;@VERSION@;${version};" > gradle
vbin gradle
cp -v getting-started.html ${DESTDIR}/usr/share/doc/gradle
mv lib ${DESTDIR}/usr/lib/gradle/
}