aboutsummaryrefslogtreecommitdiff
path: root/desktop/xfce4-windowck-plugin/xfce4-windowck-plugin.SlackBuild
diff options
context:
space:
mode:
authorAaditya Bagga <aaditya_gnulinux@zoho.com>2018-12-02 21:44:09 +0530
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-12-07 22:27:12 +0700
commita4edc0219e69f088cb78eb41688f6dd9222c60db (patch)
tree83cce455efbf8df2a2fecae5e567b37d65a69786 /desktop/xfce4-windowck-plugin/xfce4-windowck-plugin.SlackBuild
parent04e79edc642c028f02ab96fb8dea672b9f526934 (diff)
desktop/xfce4-windowck-plugin: Updated for version 0.4.5.
Diffstat (limited to 'desktop/xfce4-windowck-plugin/xfce4-windowck-plugin.SlackBuild')
-rw-r--r--desktop/xfce4-windowck-plugin/xfce4-windowck-plugin.SlackBuild15
1 files changed, 6 insertions, 9 deletions
diff --git a/desktop/xfce4-windowck-plugin/xfce4-windowck-plugin.SlackBuild b/desktop/xfce4-windowck-plugin/xfce4-windowck-plugin.SlackBuild
index 65f234614d9d7..002dc765894b3 100644
--- a/desktop/xfce4-windowck-plugin/xfce4-windowck-plugin.SlackBuild
+++ b/desktop/xfce4-windowck-plugin/xfce4-windowck-plugin.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for xfce4-windowck-plugin
# Generated using mkslack (dawoodfall.net/slackbuilds/noversion/mkslack)
-# Copyright 2015 Aaditya Bagga <aaditya_gnulinux@zoho.com>
+# Copyright 2015-2018 Aaditya Bagga <aaditya_gnulinux@zoho.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,13 +24,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=xfce4-windowck-plugin
-VERSION=${VERSION:-0.4.4}
+VERSION=${VERSION:-0.4.5}
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
@@ -41,8 +41,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"
@@ -61,10 +61,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-
-[ -e $CWD/$PRGNAM-$VERSION.tar.gz ] && tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-[ -e $CWD/v${VERSION}.tar.gz ] && tar xvf $CWD/v${VERSION}.tar.gz
-
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/v${VERSION}.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \