diff options
Diffstat (limited to 'office/jstock/jstock.SlackBuild')
-rw-r--r-- | office/jstock/jstock.SlackBuild | 15 |
1 files changed, 3 insertions, 12 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 |