diff options
author | Cezary M. Kruk <c.kruk@bigfoot.com> | 2010-05-13 00:23:26 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-13 00:23:26 +0200 |
commit | dac5338963af2577beaf9f74144e3020da4d0353 (patch) | |
tree | 30275633edabd65eb22f7eb135adeb8b168819da /desktop/wmdrawer/wmdrawer.SlackBuild | |
parent | 26e5e1865a5666ce615028f92fb4508c8bf21c29 (diff) |
desktop/wmdrawer: Updated for version 0.10.5
Diffstat (limited to 'desktop/wmdrawer/wmdrawer.SlackBuild')
-rw-r--r-- | desktop/wmdrawer/wmdrawer.SlackBuild | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/desktop/wmdrawer/wmdrawer.SlackBuild b/desktop/wmdrawer/wmdrawer.SlackBuild index 22cef4dc780ff..e1778da31637c 100644 --- a/desktop/wmdrawer/wmdrawer.SlackBuild +++ b/desktop/wmdrawer/wmdrawer.SlackBuild @@ -16,10 +16,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 @@ -28,7 +31,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar -xvf $CWD/$PRGNAM-$VERSION.tar.gz +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . find . \ @@ -50,14 +53,15 @@ mkdir -p $PKG/usr/bin cp -a wmdrawer $PKG/usr/bin strip --strip-unneeded $PKG/usr/bin/wmdrawer mkdir -p $PKG/usr/man/man1 -cat doc/wmdrawer.1x.gz > $PKG/usr/man/man1/wmdrawer.1x.gz +cat doc/wmdrawer.1x.gz > $PKG/usr/man/man1/wmdrawer.1.gz mkdir -p $PKG/usr/share/pixmaps cp $CWD/pixmaps/* $PKG/usr/share/pixmaps mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS COPYING ChangeLog INSTALL README TODO wmdrawerrc.example \ - $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + AUTHORS COPYING ChangeLog INSTALL README TODO wmdrawerrc.example \ + $PKG/usr/doc/$PRGNAM-$VERSION cp $CWD/wmdrawerrc.Slackware $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild @@ -65,5 +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} |