void-packages/srcpkgs/gradle/template
2018-08-27 22:27:42 -03:00

25 lines
765 B
Bash

# Template file for 'gradle'
pkgname=gradle
version=4.10
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="https://gradle.org/"
changelog="https://docs.gradle.org/${version}/release-notes.html"
distfiles="https://services.gradle.org/distributions/gradle-${version}-bin.zip"
checksum=248cfd92104ce12c5431ddb8309cf713fe58de8e330c63176543320022f59f18
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/
}