aboutsummaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorPetar Petrov <slackalaxy@gmail.com>2021-05-18 17:10:33 +0300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-18 23:40:17 +0700
commit5a72474b9b73099109fabe19d058eb334e7aba99 (patch)
tree0f0ccc0fd760fc502e74883604f4ac54ba3be89c /desktop
parentf65184720f945190b921608b58270cca48ec1d0b (diff)
desktop/gtk1-industrial-engine: misc cleanups
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop')
-rw-r--r--desktop/gtk1-industrial-engine/gtk1-industrial-engine.SlackBuild18
1 files changed, 9 insertions, 9 deletions
diff --git a/desktop/gtk1-industrial-engine/gtk1-industrial-engine.SlackBuild b/desktop/gtk1-industrial-engine/gtk1-industrial-engine.SlackBuild
index 436b429d672c..a4876348c227 100644
--- a/desktop/gtk1-industrial-engine/gtk1-industrial-engine.SlackBuild
+++ b/desktop/gtk1-industrial-engine/gtk1-industrial-engine.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for gtk1-industrial-engine
-# Copyright 2011-2016 Petar Petrov slackalaxy@gmail.com
+# Copyright 2011-2021 Petar Petrov slackalaxy@gmail.com
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +24,7 @@
PRGNAM=gtk1-industrial-engine
VERSION=${VERSION:-0.2.36}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
SRCNAM=gtk-industrial-engine
@@ -32,7 +32,7 @@ SRCVER=0.2.36-2
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -43,8 +43,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -67,10 +67,10 @@ tar xvf $CWD/${SRCNAM}_${SRCVER}.tar.gz
cd $SRCNAM-$VERSION
chown -R root:root .
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 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -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 {} \;
# Copy these or it will complain...
cp ./gtk-common/* ./gtk1-engine/