summaryrefslogtreecommitdiffstats
path: root/office/jstock
diff options
context:
space:
mode:
Diffstat (limited to 'office/jstock')
-rw-r--r--office/jstock/jstock.SlackBuild15
-rw-r--r--office/jstock/jstock.info6
2 files changed, 6 insertions, 15 deletions
diff --git a/office/jstock/jstock.SlackBuild b/office/jstock/jstock.SlackBuild
index 01333dc15f..3c7c9f6f9c 100644
--- a/office/jstock/jstock.SlackBuild
+++ b/office/jstock/jstock.SlackBuild
@@ -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.56}
+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
diff --git a/office/jstock/jstock.info b/office/jstock/jstock.info
index 07f1b78a5d..9c5710436e 100644
--- a/office/jstock/jstock.info
+++ b/office/jstock/jstock.info
@@ -1,8 +1,8 @@
PRGNAM="jstock"
-VERSION="1.0.7.56"
+VERSION="1.0.7.60"
HOMEPAGE="http://www.jstock.org/"
-DOWNLOAD="https://github.com/yccheok/jstock/releases/download/release_1-0-7-56/jstock-1.0.7.56-bin.zip"
-MD5SUM="4235f96acf9a1d61d79f6b81b96ae46c"
+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"