summaryrefslogtreecommitdiff
path: root/desktop/gtk1-theme-switch
diff options
context:
space:
mode:
authorPetar Petrov <slackalaxy@gmail.com>2021-05-18 17:11:06 +0300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-18 23:40:18 +0700
commit7dc12911f653ae4c40c041bf1721c4703dd1e682 (patch)
tree3d4930ebcb113cd4c36af3ab756eef3a78ccb058 /desktop/gtk1-theme-switch
parent5a72474b9b73099109fabe19d058eb334e7aba99 (diff)
downloadslackbuilds-7dc12911f653ae4c40c041bf1721c4703dd1e682.tar.gz
desktop/gtk1-theme-switch: misc cleanups
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/gtk1-theme-switch')
-rw-r--r--desktop/gtk1-theme-switch/gtk1-theme-switch.SlackBuild16
1 files 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