void-packages/srcpkgs/gradle/template

24 lines
700 B
Bash
Raw Normal View History

2015-04-07 11:06:30 +00:00
# Template file for 'gradle'
pkgname=gradle
2016-07-18 02:05:16 +00:00
version=2.14
2016-07-18 05:06:13 +00:00
revision=2
2015-11-28 20:18:20 +00:00
noarch=yes
2015-04-07 11:06:30 +00:00
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"
2016-07-18 02:05:16 +00:00
checksum=993b4f33b652c689e9721917d8e021cab6bbd3eae81b39ab2fd46fdb19a928d5
2015-04-07 11:06:30 +00:00
do_install() {
vmkdir "usr/lib/gradle"
vmkdir "usr/share/doc/gradle"
sed ${FILESDIR}/gradle -e "s;@VERSION@;${version};" > gradle
vbin gradle
2015-04-07 11:06:30 +00:00
cp -v getting-started.html changelog.txt ${DESTDIR}/usr/share/doc/gradle
mv lib ${DESTDIR}/usr/lib/gradle/
}