diff options
-rw-r--r-- | development/zulu-openjdk11/zulu-openjdk11.SlackBuild | 25 | ||||
-rw-r--r-- | development/zulu-openjdk11/zulu-openjdk11.info | 10 |
2 files changed, 18 insertions, 17 deletions
diff --git a/development/zulu-openjdk11/zulu-openjdk11.SlackBuild b/development/zulu-openjdk11/zulu-openjdk11.SlackBuild index 9413edf6efa9..94290a8b64a9 100644 --- a/development/zulu-openjdk11/zulu-openjdk11.SlackBuild +++ b/development/zulu-openjdk11/zulu-openjdk11.SlackBuild @@ -25,18 +25,19 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=zulu-openjdk11 -VERSION=${VERSION:-11.0.13} -ZULUVERSION=${ZULUVERSION:-11.52.13} +VERSION=${VERSION:-11.0.14.1} +ZULUVERSION=${ZULUVERSION:-11.54.25} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} -ARCH=${ARCH:-$(uname -m)} - -case "${ARCH}" in - i?86) ARCH=i686 ;; - x86_64) ARCH=x64 ;; -esac +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i686 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" @@ -48,17 +49,17 @@ PKG=${TMP}/package-${PRGNAM} OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i686" ]; then - LIB_ARCH=i686 + ZULU_ARCH=i686 LIBDIRSUFFIX="" -elif [ "$ARCH" = "x64" ]; then - LIB_ARCH=amd64 +elif [ "$ARCH" = "x86_64" ]; then + ZULU_ARCH=x64 LIBDIRSUFFIX="64" else echo "Architecture ${ARCH} is not supported." exit 1 fi -SRCNAM=zulu${ZULUVERSION}-ca-jdk${VERSION}-linux_$ARCH +SRCNAM=zulu${ZULUVERSION}-ca-jdk${VERSION}-linux_$ZULU_ARCH set -e diff --git a/development/zulu-openjdk11/zulu-openjdk11.info b/development/zulu-openjdk11/zulu-openjdk11.info index a07fbb9b1578..3a8725fd8962 100644 --- a/development/zulu-openjdk11/zulu-openjdk11.info +++ b/development/zulu-openjdk11/zulu-openjdk11.info @@ -1,10 +1,10 @@ PRGNAM="zulu-openjdk11" -VERSION="11.0.13" +VERSION="11.0.14.1" HOMEPAGE="https://www.azul.com/downloads/" -DOWNLOAD="https://cdn.azul.com/zulu/bin/zulu11.52.13-ca-jdk11.0.13-linux_i686.tar.gz" -MD5SUM="ac1e03880a580c81a36f58d491c17475" -DOWNLOAD_x86_64="https://cdn.azul.com/zulu/bin/zulu11.52.13-ca-jdk11.0.13-linux_x64.tar.gz" -MD5SUM_x86_64="86a7d35e4077c94ea3d250f6a5bf650e" +DOWNLOAD="https://cdn.azul.com/zulu/bin/zulu11.54.25-ca-jdk11.0.14.1-linux_i686.tar.gz" +MD5SUM="cfc3dfaf76e82e21549b3008bffafecc" +DOWNLOAD_x86_64="https://cdn.azul.com/zulu/bin/zulu11.54.25-ca-jdk11.0.14.1-linux_x64.tar.gz" +MD5SUM_x86_64="e53fb58937cceb690ca1d810dbda49d1" REQUIRES="" MAINTAINER="Sébastien Ballet" EMAIL="slacker6896@gmail.com" |