From 7dc12911f653ae4c40c041bf1721c4703dd1e682 Mon Sep 17 00:00:00 2001 From: Petar Petrov Date: Tue, 18 May 2021 17:11:06 +0300 Subject: [PATCH] desktop/gtk1-theme-switch: misc cleanups Signed-off-by: Willy Sudiarto Raharjo --- .../gtk1-theme-switch.SlackBuild | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/desktop/gtk1-theme-switch/gtk1-theme-switch.SlackBuild b/desktop/gtk1-theme-switch/gtk1-theme-switch.SlackBuild index a3f0ceea16..d3f6adb5d0 100644 --- a/desktop/gtk1-theme-switch/gtk1-theme-switch.SlackBuild +++ b/desktop/gtk1-theme-switch/gtk1-theme-switch.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for gtk1-theme-switch -# 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 @@ -31,7 +31,7 @@ SRCNAM=gtk-theme-switch if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -42,8 +42,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" @@ -66,10 +66,10 @@ tar xvf $CWD/$SRCNAM-$VERSION.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 {} \; # Use our CFLAGS sed -i "/^CFLAGS/s/=/+=/" Makefile