aboutsummaryrefslogtreecommitdiff
path: root/development/sqlcl
diff options
context:
space:
mode:
authorGiuseppe Di Terlizzi <giuseppe.diterlizzi@gmail.com>2024-01-20 00:49:50 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-01-20 01:03:46 +0700
commitaa6979279d077a588a9df3e81e40427ea9ab3c74 (patch)
tree5465aff84734fede99f7b784484e1364f30c303d /development/sqlcl
parent9a766de5bd77165efdf34d132bdc7fccc28e2ef0 (diff)
development/sqlcl: Updated for version 23.3.0.270.1251.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/sqlcl')
-rw-r--r--development/sqlcl/sqlcl.SlackBuild18
-rw-r--r--development/sqlcl/sqlcl.info10
2 files changed, 16 insertions, 12 deletions
diff --git a/development/sqlcl/sqlcl.SlackBuild b/development/sqlcl/sqlcl.SlackBuild
index 5d54d8323660..7c8a23a1e3cd 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 <giuseppe.diterlizzi@gmail.com>
+# Copyright 2016-2024 Giuseppe Di Terlizzi <giuseppe.diterlizzi@gmail.com>
# 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 7b7d421770f2..5609cf1a22cf 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"