diff options
Diffstat (limited to 'development/eclipse-java/eclipse-java.SlackBuild')
-rw-r--r-- | development/eclipse-java/eclipse-java.SlackBuild | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/development/eclipse-java/eclipse-java.SlackBuild b/development/eclipse-java/eclipse-java.SlackBuild index a999a01773..54cff91d1f 100644 --- a/development/eclipse-java/eclipse-java.SlackBuild +++ b/development/eclipse-java/eclipse-java.SlackBuild @@ -29,8 +29,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=eclipse-java -VERSION=${VERSION:-4.20} -SRCVERSION=${SRCVERSION:-2021-06-R} +VERSION=${VERSION:-4.31} +SRCVERSION=${SRCVERSION:-2024-03-R} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -43,9 +43,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -61,11 +58,11 @@ mkdir -p $TMP $PKG/opt/$PRGNAM $OUTPUT cd $PKG/opt/$PRGNAM # Untar source code tarball according with ARCH value -# ARCH can only be 'x86_64' -if [ "$ARCH" = "x86_64" ]; then +# ARCH can only be 'x86_64' or 'aarch64' +if [ "$ARCH" = "x86_64" ] || [ "$ARCH" = "aarch64" ] ; then tar --strip-components=1 -xvf $CWD/$PRGNAM-$SRCVERSION-linux-gtk-$ARCH.tar.gz else - printf "$ARCH is not supported...\n" + printf "%s is not supported...\n" "$ARCH" exit 1 fi |