summaryrefslogtreecommitdiffstats
path: root/accessibility/unclutter/unclutter.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'accessibility/unclutter/unclutter.SlackBuild')
-rw-r--r--accessibility/unclutter/unclutter.SlackBuild11
1 files changed, 5 insertions, 6 deletions
diff --git a/accessibility/unclutter/unclutter.SlackBuild b/accessibility/unclutter/unclutter.SlackBuild
index b0d5efb957..35a533cf51 100644
--- a/accessibility/unclutter/unclutter.SlackBuild
+++ b/accessibility/unclutter/unclutter.SlackBuild
@@ -7,16 +7,14 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
PRGNAM=unclutter
-VERSION=${VERSION:-8}
+VERSION=${VERSION:-1.09}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -45,9 +43,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM
+rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM
+cd $PRGNAM-$VERSION
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@@ -56,7 +54,8 @@ find . \
-exec chmod 644 {} \;
xmkmf -a
-make CDEBUGFLAGS="$SLKCFLAGS -fno-strength-reduce -fno-strict-aliasing"
+#make CDEBUGFLAGS="$SLKCFLAGS -fno-strength-reduce -fno-strict-aliasing"
+make CDEBUGFLAGS="$SLKCFLAGS"
# manual install since "make install" fails to install the man page
strip $PRGNAM