aboutsummaryrefslogtreecommitdiff
path: root/desktop/gtk-chtheme/gtk-chtheme.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2017-03-20 06:46:01 -0400
committerDavid Spencer <idlemoor@slackbuilds.org>2017-03-25 13:26:59 +0000
commit7074d6673e10317fee43357264283f5710f20bbc (patch)
treefff5f251e29b5c0bfd8c802f2d3edf01cf2f530c /desktop/gtk-chtheme/gtk-chtheme.SlackBuild
parentcee2dec33ba1804120839dfae1929a945036b9f5 (diff)
desktop/gtk-chtheme: Allow VERSION override, i486=>i586.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'desktop/gtk-chtheme/gtk-chtheme.SlackBuild')
-rw-r--r--desktop/gtk-chtheme/gtk-chtheme.SlackBuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/desktop/gtk-chtheme/gtk-chtheme.SlackBuild b/desktop/gtk-chtheme/gtk-chtheme.SlackBuild
index 1ada16156f985..d614522f4f4d4 100644
--- a/desktop/gtk-chtheme/gtk-chtheme.SlackBuild
+++ b/desktop/gtk-chtheme/gtk-chtheme.SlackBuild
@@ -25,13 +25,13 @@
# Modified by the SlackBuilds.org project
PRGNAM=gtk-chtheme
-VERSION=0.3.1
+VERSION=${VERSION:-0.3.1}
BUILD=${BUILD:-3}
-TAG=${TAG=_SBo}
+TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -44,8 +44,8 @@ OUTPUT=${OUTPUT:-/tmp}
DOCS="COPYING ChangeLog"
-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"