development/jdk11: Updated for version 11.0.7.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Igor Alexandrov 2020-04-24 07:43:30 +07:00 committed by Willy Sudiarto Raharjo
parent 1935c47a0e
commit 17b3f172e5
3 changed files with 9 additions and 12 deletions

View file

@ -15,7 +15,7 @@ This SlackBuild will repackage official Oracle JDK archive.
You must accept the Oracle Technology Network License Agreement
for Oracle Java SE to download this software
https://www.oracle.com/technetwork/java/javase/downloads/jdk11-downloads-5066655.html
https://www.oracle.com/java/technologies/javase-jdk11-downloads.html
After installation you will need to log out from the system and log in back
for environment variables get updated.

View file

@ -1,8 +1,8 @@
#!/bin/sh
#!/bin/sh -eu
# Slackware build script for jdk11
# Copyright 2019 2020 Igor Alexandrov <igora.vault@gmail.com>
# Copyright 2019, 2020 Igor Alexandrov <igor.alexandrov@outlook.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=jdk11
VERSION=${VERSION:-11.0.6}
VERSION=${VERSION:-11.0.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -44,11 +44,9 @@ if [ "$ARCH" = "x86_64" ]; then
LIBDIRSUFFIX="64"
else
echo "$ARCH port is not supported"
exit -1
exit 1
fi
set -e
rm -rf $PKG
mkdir -p $TMP $OUTPUT \
$PKG/{install,etc/profile.d,usr/{lib${LIBDIRSUFFIX},doc/$PRGNAM-$VERSION}}
@ -103,4 +101,3 @@ chmod 755 etc/profile.d/*
cat $CWD/slack-desc > install/slack-desc
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}

View file

@ -1,10 +1,10 @@
PRGNAM="jdk11"
VERSION="11.0.6"
VERSION="11.0.7"
HOMEPAGE="https://www.oracle.com/technetwork/java/javase/downloads/index.html"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
DOWNLOAD_x86_64="https://download.oracle.com/otn/java/jdk/11.0.6+8/90eb79fb590d45c8971362673c5ab495/jdk-11.0.6_linux-x64_bin.tar.gz"
MD5SUM_x86_64="a1c006e67657892168532af68a89230f"
DOWNLOAD_x86_64="https://download.oracle.com/otn/java/jdk/11.0.7%2B8/8c7daf89330c48f0b9e32f57169f7bac/jdk-11.0.7_linux-x64_bin.tar.gz"
MD5SUM_x86_64="e2794eb87795ca7798489e661848c769"
REQUIRES=""
MAINTAINER="Igor Alexandrov"
EMAIL="igora.vault@gmail.com"
EMAIL="igor.alexandrov@outlook.com"