diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2022-03-01 20:47:14 +1300 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-03-03 15:56:50 +0700 |
commit | f327b6efed0b538f8b32b404f03ee5c891ff95e5 (patch) | |
tree | 083a1e396e3091e256b6106492c8ee184814bf34 /development/zulu-openjdk8/zulu-openjdk8.SlackBuild | |
parent | 02c1c6d59a757037f8108608c02efecea72921c7 (diff) |
development/zulu-openjdk8: Updated for version 8.0.322.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/zulu-openjdk8/zulu-openjdk8.SlackBuild')
-rw-r--r-- | development/zulu-openjdk8/zulu-openjdk8.SlackBuild | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/development/zulu-openjdk8/zulu-openjdk8.SlackBuild b/development/zulu-openjdk8/zulu-openjdk8.SlackBuild index c02a1675ff98..b33063288b98 100644 --- a/development/zulu-openjdk8/zulu-openjdk8.SlackBuild +++ b/development/zulu-openjdk8/zulu-openjdk8.SlackBuild @@ -25,18 +25,19 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=zulu-openjdk8 -VERSION=${VERSION:-8.0.312} -ZULUVERSION=${ZULUVERSION:-8.58.0.13} +VERSION=${VERSION:-8.0.322} +ZULUVERSION=${ZULUVERSION:-8.60.0.21} 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 |