aboutsummaryrefslogtreecommitdiff
path: root/development/gradle/gradle.SlackBuild
diff options
context:
space:
mode:
authorArun Mascarenhas <arunmascarenhas@yahoo.com>2014-09-08 22:22:30 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-09-08 22:22:30 +0700
commit1d0bf2474f49255b25a4a5dec807fafa265e1439 (patch)
tree1a867522504776442c565f359d14aa3aac51f90c /development/gradle/gradle.SlackBuild
parentc0beb00b0f926922ba7d217239c9ebea70d112aa (diff)
development/gradle: Updated for version 2.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/gradle/gradle.SlackBuild')
-rw-r--r--development/gradle/gradle.SlackBuild15
1 files changed, 2 insertions, 13 deletions
diff --git a/development/gradle/gradle.SlackBuild b/development/gradle/gradle.SlackBuild
index 4d1975be36d61..a7d8f74bdca09 100644
--- a/development/gradle/gradle.SlackBuild
+++ b/development/gradle/gradle.SlackBuild
@@ -26,7 +26,7 @@
# Started by Arun Mascarenhas (arunmascarenhas[at]yahoo[dot]com)
PRGNAM=gradle
-VERSION=${VERSION:-1.11}
+VERSION=${VERSION:-2.0}
ARCH=noarch
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -44,7 +44,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG/usr/share/java $PKG/$GRADLE_HOME $OUTPUT $PKG/usr/bin
cd $TMP
rm -rf ${PRGNAM}-$VERSION
-unzip $CWD/${PRGNAM}-$VERSION-bin.zip
+unzip $CWD/${PRGNAM}-$VERSION-all.zip
cd ${PRGNAM}-$VERSION
chown -R root:root .
@@ -54,17 +54,6 @@ mkdir -p $PKG/etc/profile.d/
install -m755 $CWD/$PRGNAM.csh $PKG/etc/profile.d/$PRGNAM.csh
install -m755 $CWD/$PRGNAM.sh $PKG/etc/profile.d/$PRGNAM.sh
-cd $PKG/usr/share/java
- for jar in $PKG/$GRADLE_HOME/lib/*.jar ; do
- if [ -f $PKG/usr/share/java/$(basename jar) ]
- then
- echo "Skipping $jar"
- continue
- fi
- ln -s $GRADLE_HOME/lib/$(basename $jar) $(basename $jar)
- done
-cd -
-
cd $PKG/usr/bin
ln -s $GRADLE_HOME/bin/gradle
cd -