diff --git a/development/sqlcl/sqlcl.SlackBuild b/development/sqlcl/sqlcl.SlackBuild index 5d54d83236..7c8a23a1e3 100644 --- a/development/sqlcl/sqlcl.SlackBuild +++ b/development/sqlcl/sqlcl.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for Oracle SQL Developer Command Line -# Copyright 2016-2021 Giuseppe Di Terlizzi +# Copyright 2016-2024 Giuseppe Di Terlizzi # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,15 +25,12 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=sqlcl -VERSION=${VERSION:-20.4.2.35.2359} +VERSION=${VERSION:-23.3.0.270.1251} ARCH=${ARCH:-noarch} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} -# 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 @@ -64,11 +61,18 @@ find -L . \ ) mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp $PKG/opt/sqlcl/README.md $PKG/usr/doc/$PRGNAM-$VERSION + +mv $PKG/opt/sqlcl/*.md $PKG/usr/doc/$PRGNAM-$VERSION +mv $PKG/opt/sqlcl/*.txt $PKG/usr/doc/$PRGNAM-$VERSION +mv $PKG/opt/sqlcl/bin/*.md $PKG/usr/doc/$PRGNAM-$VERSION +mv $PKG/opt/sqlcl/bin/*.txt $PKG/usr/doc/$PRGNAM-$VERSION + +rm $PKG/opt/sqlcl/$VERSION || true + cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/usr/bin -ln -sf /opt/sqlcl/bin/sql $PKG/usr/bin/sql +ln -sf /opt/sqlcl/bin/sql $PKG/usr/bin/sqlcl mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/development/sqlcl/sqlcl.info b/development/sqlcl/sqlcl.info index 7b7d421770..5609cf1a22 100644 --- a/development/sqlcl/sqlcl.info +++ b/development/sqlcl/sqlcl.info @@ -1,10 +1,10 @@ PRGNAM="sqlcl" -VERSION="20.4.2.35.2359" -HOMEPAGE="http://oracle.com/technetwork/developer-tools/sqlcl/overview" -DOWNLOAD="http://download.oracle.com/otn/java/sqldeveloper/sqlcl-20.4.2.35.2359.zip" -MD5SUM="371aa3d2ffaaa3bd2b6fa550eb3cb184" +VERSION="23.3.0.270.1251" +HOMEPAGE="https://www.oracle.com/database/sqldeveloper/technologies/sqlcl/" +DOWNLOAD="https://download.oracle.com/otn_software/java/sqldeveloper/sqlcl-23.3.0.270.1251.zip" +MD5SUM="e96e38ffdf40cd8f8763052dfad3a127" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="zulu-openjdk8" +REQUIRES="zulu-openjdk11" MAINTAINER="Giuseppe Di Terlizzi" EMAIL="giuseppe.diterlizzi@gmail.com"