diff options
Diffstat (limited to 'development/gradle/gradle.SlackBuild')
-rw-r--r-- | development/gradle/gradle.SlackBuild | 15 |
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 - |