summaryrefslogtreecommitdiff
path: root/desktop/plasma-applet-daisy
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2017-03-20 06:49:52 -0400
committerDavid Spencer <idlemoor@slackbuilds.org>2017-03-25 13:27:01 +0000
commitd6be8b2a79780ca521100cca77c85fddf2b6fd4f (patch)
tree076818060a6bb42b7d590372fdd1fd64c7338be9 /desktop/plasma-applet-daisy
parentb28258be998c4a4786d5f25690c7dd946265203d (diff)
downloadslackbuilds-d6be8b2a79780ca521100cca77c85fddf2b6fd4f.tar.gz
desktop/plasma-applet-daisy: 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/plasma-applet-daisy')
-rw-r--r--desktop/plasma-applet-daisy/plasma-applet-daisy.SlackBuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/desktop/plasma-applet-daisy/plasma-applet-daisy.SlackBuild b/desktop/plasma-applet-daisy/plasma-applet-daisy.SlackBuild
index 0b52211b1e..e830961ef1 100644
--- a/desktop/plasma-applet-daisy/plasma-applet-daisy.SlackBuild
+++ b/desktop/plasma-applet-daisy/plasma-applet-daisy.SlackBuild
@@ -4,13 +4,13 @@
# Written by Eugene Kommunist Bolotov <lordinferius@gmail.com>
PRGNAM=plasma-applet-daisy
-VERSION=0.0.4.26
+VERSION=${VERSION:-0.0.4.26}
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
@@ -21,8 +21,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -mtune=i686 -march=i486"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -mtune=i686 -march=i586"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -mtune=i686 -march=i686"