diff options
Diffstat (limited to 'development/jdk11/jdk11.SlackBuild')
-rw-r--r-- | development/jdk11/jdk11.SlackBuild | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/development/jdk11/jdk11.SlackBuild b/development/jdk11/jdk11.SlackBuild index 272f86d660..bd17ab104e 100644 --- a/development/jdk11/jdk11.SlackBuild +++ b/development/jdk11/jdk11.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=jdk11 -VERSION=${VERSION:-11.0.12} +VERSION=${VERSION:-11.0.22} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -38,9 +38,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,8 +58,8 @@ LIBDIRSUFFIX=64 rm -rf $PKG mkdir -p $TMP $OUTPUT $PKG/{install,etc/profile.d,usr/{bin,lib${LIBDIRSUFFIX},doc/$PRGNAM-$VERSION,man/man1}} cd $PKG/usr/lib${LIBDIRSUFFIX} -tar -xvf $CWD/jdk-${VERSION}_linux*.tar.gz -mv $(tar -tf $CWD/jdk-${VERSION}_linux*.tar.gz | head -1 | cut -d/ -f1) $PRGNAM-$VERSION +tar -xvf $CWD/jdk-${VERSION}_linux-x64_bin.tar.gz +mv $(tar -tf $CWD/jdk-${VERSION}_linux-x64_bin.tar.gz | head -1 | cut -d/ -f1) $PRGNAM-$VERSION chown -R root:root $PRGNAM-$VERSION find -L $PRGNAM-$VERSION \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ |