diff options
author | Zhu Qun-Ying <zhu.qunying@gmail.com> | 2015-09-19 04:23:37 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-09-19 04:23:37 +0700 |
commit | a2f6c2e3724de68fb6bd752957cc1784fcb91f78 (patch) | |
tree | 24da6e878f1fcf7af7992922a134ef0ee02e2af2 /misc/jstock/jstock.SlackBuild | |
parent | 1573a51117a1242426203d559afdbb85ec62fcff (diff) |
misc/jstock: Updated for version 1.0.7.10.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'misc/jstock/jstock.SlackBuild')
-rw-r--r-- | misc/jstock/jstock.SlackBuild | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/misc/jstock/jstock.SlackBuild b/misc/jstock/jstock.SlackBuild index 31a5adfec4a52..f0ba9a2760c38 100644 --- a/misc/jstock/jstock.SlackBuild +++ b/misc/jstock/jstock.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=jstock -VERSION=${VERSION:-1.0.7.6} +VERSION=${VERSION:-1.0.7.10} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -40,11 +40,7 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then +if [ "$ARCH" = "x86_64" ]; then LIBDIRSUFFIX="64" else LIBDIRSUFFIX="" @@ -65,7 +61,7 @@ find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ -o -perm 511 \) -exec chmod 755 {} \; -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + -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 |