diff options
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 31a5adfec4..f0ba9a2760 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 |