summaryrefslogtreecommitdiff
path: root/desktop/wmclock/wmclock.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2010-05-13 00:23:24 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-13 00:23:24 +0200
commit513698d5280527a295be858301ec56ba8f176fb0 (patch)
tree55259b8932554f30d5db4bca378104159cf799b9 /desktop/wmclock/wmclock.SlackBuild
parente1478dbcc09bc74db7e4fd23ec091230d7344313 (diff)
downloadslackbuilds-513698d5280527a295be858301ec56ba8f176fb0.tar.gz
desktop/wmclock: Updated for version 1.0.12.2
Diffstat (limited to 'desktop/wmclock/wmclock.SlackBuild')
-rw-r--r--desktop/wmclock/wmclock.SlackBuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/desktop/wmclock/wmclock.SlackBuild b/desktop/wmclock/wmclock.SlackBuild
index 49b45a56de..837a992deb 100644
--- a/desktop/wmclock/wmclock.SlackBuild
+++ b/desktop/wmclock/wmclock.SlackBuild
@@ -17,10 +17,13 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
fi
set -e
@@ -51,7 +54,7 @@ LANGUAGE=${LANGUAGE:-english}
make CDEBUGFLAGS="$SLKCFLAGS"
mkdir -p $PKG/usr/bin
-strip $PRGNAM
+strip --strip-unneeded $PRGNAM
install -m0755 -o root -g root $PRGNAM $PKG/usr/bin
make install.share DESTDIR=$PKG
@@ -66,4 +69,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}