development/sqlcl: Updated for version 23.3.0.270.1251.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Giuseppe Di Terlizzi 2024-01-20 00:49:50 +07:00 committed by Willy Sudiarto Raharjo
parent 9a766de5bd
commit aa6979279d
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 16 additions and 12 deletions

View file

@ -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

View file

@ -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"