office/jstock: Updated for version 1.0.7.60.

Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Zhu Qun-Ying 2023-08-05 12:07:05 -07:00 committed by Willy Sudiarto Raharjo
parent 5a33989571
commit 8963dde1d4
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 6 additions and 15 deletions

View file

@ -2,7 +2,7 @@
# Slackware build script for jstock
# Copyright 2014-2022 Zhu Qun-Ying
# Copyright 2014-2023 Zhu Qun-Ying
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=jstock
VERSION=${VERSION:-1.0.7.59}
VERSION=${VERSION:-1.0.7.60}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -50,14 +50,6 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "x86_64" ]; then
LIBDIRSUFFIX="64"
else
LIBDIRSUFFIX=""
fi
JAVAHOME="/usr/lib${LIBDIRSUFFIX}/java"
set -e
rm -rf $PKG
@ -74,7 +66,6 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
chmod +x jstock/jstock.sh
sed -i '/\/usr\/lib\/java/a JAVA_HOME='"$JAVAHOME"'' jstock/jstock.sh
cd $PKG/usr/bin
ln -sf /opt/jstock/jstock.sh jstock
@ -87,4 +78,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-noarch-$BUILD$TAG.$PKGTYPE

View file

@ -1,8 +1,8 @@
PRGNAM="jstock"
VERSION="1.0.7.59"
VERSION="1.0.7.60"
HOMEPAGE="http://www.jstock.org/"
DOWNLOAD="https://github.com/yccheok/jstock/releases/download/release_1-0-7-59/jstock-1.0.7.59-bin.zip"
MD5SUM="dc1a7bcbed18da64889e52ea6535c9c7"
DOWNLOAD="https://github.com/yccheok/jstock/releases/download/release_1-0-7-60/jstock-1.0.7.60-bin.zip"
MD5SUM="08c138693d864b039f7e32d8f488cb6a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="zulu-openjdk8"