diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2022-03-01 21:08:44 +1300 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-03-03 15:56:50 +0700 |
commit | 062c44615d50deb42afe6e8dfa766bbb726a386d (patch) | |
tree | e4d7d9e6a1178766eb27c0b5e845e8f9b074e57b /development/zulu-openjdk17 | |
parent | 1612ec1700e866fe7be83b24b11493ee0a537394 (diff) |
development/zulu-openjdk17: Updated for version 17.0.2.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/zulu-openjdk17')
-rw-r--r-- | development/zulu-openjdk17/zulu-openjdk17.SlackBuild | 25 | ||||
-rw-r--r-- | development/zulu-openjdk17/zulu-openjdk17.info | 10 |
2 files changed, 18 insertions, 17 deletions
diff --git a/development/zulu-openjdk17/zulu-openjdk17.SlackBuild b/development/zulu-openjdk17/zulu-openjdk17.SlackBuild index 25b8a7ce065c..a3600673dbf1 100644 --- a/development/zulu-openjdk17/zulu-openjdk17.SlackBuild +++ b/development/zulu-openjdk17/zulu-openjdk17.SlackBuild @@ -25,18 +25,19 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=zulu-openjdk17 -VERSION=${VERSION:-17.0.1} -ZULUVERSION=${ZULUVERSION:-17.30.15} +VERSION=${VERSION:-17.0.2} +ZULUVERSION=${ZULUVERSION:-17.32.13} 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-openjdk17/zulu-openjdk17.info b/development/zulu-openjdk17/zulu-openjdk17.info index 8c7cabd8f0c8..a54e490bb19a 100644 --- a/development/zulu-openjdk17/zulu-openjdk17.info +++ b/development/zulu-openjdk17/zulu-openjdk17.info @@ -1,10 +1,10 @@ PRGNAM="zulu-openjdk17" -VERSION="17.0.1" +VERSION="17.0.2" HOMEPAGE="https://www.azul.com/downloads/" -DOWNLOAD="https://cdn.azul.com/zulu/bin/zulu17.30.15-ca-jdk17.0.1-linux_i686.tar.gz" -MD5SUM="7728efbf5d9ec37bfc4aee8cf314e471" -DOWNLOAD_x86_64="https://cdn.azul.com/zulu/bin/zulu17.30.15-ca-jdk17.0.1-linux_x64.tar.gz" -MD5SUM_x86_64="d78f39ec5fe9433f339e6dc920613635" +DOWNLOAD="https://cdn.azul.com/zulu/bin/zulu17.32.13-ca-jdk17.0.2-linux_i686.tar.gz" +MD5SUM="7d0f12884ce51289cb4520e2abb7afd3" +DOWNLOAD_x86_64="https://cdn.azul.com/zulu/bin/zulu17.32.13-ca-jdk17.0.2-linux_x64.tar.gz" +MD5SUM_x86_64="159fc999c02b9cf3e78028f769981c72" REQUIRES="" MAINTAINER="Sébastien Ballet" EMAIL="slacker6896@gmail.com" |