aboutsummaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2017-03-20 06:48:41 -0400
committerDavid Spencer <idlemoor@slackbuilds.org>2017-03-25 13:27:00 +0000
commit63617d235b1c9b2a77c5befdb76e85a693041ead (patch)
treee7b3d1d5237c1f32714cdd410f9f13ac59ec96e1 /desktop
parent1e3cffd85c5a3069c2978da2a77797182da3ba08 (diff)
desktop/oxygen-transparent: 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')
-rw-r--r--desktop/oxygen-transparent/oxygen-transparent.SlackBuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/desktop/oxygen-transparent/oxygen-transparent.SlackBuild b/desktop/oxygen-transparent/oxygen-transparent.SlackBuild
index 2158440b1e6c..2fd66992cb78 100644
--- a/desktop/oxygen-transparent/oxygen-transparent.SlackBuild
+++ b/desktop/oxygen-transparent/oxygen-transparent.SlackBuild
@@ -23,13 +23,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=oxygen-transparent
-VERSION=34095be
+VERSION=${VERSION:-34095be}
BUILD=${BUILD:-1}
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
@@ -40,8 +40,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"