summaryrefslogtreecommitdiff
path: root/desktop/clearlooks
diff options
context:
space:
mode:
authorBrian Muramatsu <brian@fhobia.org>2010-05-11 22:21:42 +0200
committerMichiel van Wessem <michiel@slackbuilds.org>2010-05-11 22:21:42 +0200
commit48105c8f71570130176f2311d21b5a503886a748 (patch)
tree2c23e53c713137bf96e48a1f629d6e31992dd2ca /desktop/clearlooks
parent617e77774241cddb00e084fb1f11eeab614de9fc (diff)
downloadslackbuilds-48105c8f71570130176f2311d21b5a503886a748.tar.gz
desktop/clearlooks: Updated for version 0.6.2
Diffstat (limited to 'desktop/clearlooks')
-rw-r--r--desktop/clearlooks/clearlooks.SlackBuild12
1 files changed, 7 insertions, 5 deletions
diff --git a/desktop/clearlooks/clearlooks.SlackBuild b/desktop/clearlooks/clearlooks.SlackBuild
index 0eb2071638..ab2652271e 100644
--- a/desktop/clearlooks/clearlooks.SlackBuild
+++ b/desktop/clearlooks/clearlooks.SlackBuild
@@ -10,15 +10,16 @@ VERSION=0.6.2
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i386" ]; then
- SLKCFLAGS="-O2 -march=i386 -mtune=i686"
-elif [ "$ARCH" = "i486" ]; then
+if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
fi
@@ -27,7 +28,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP || exit 1
rm -rf $PRGNAM-$VERSION
-tar xvjf $CWD/$PRGNAM-$VERSION.tar.bz2 || exit 1
+tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 || exit 1
cd $PRGNAM-$VERSION || exit 1
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
@@ -49,7 +50,8 @@ make install DESTDIR=$PKG || exit 1
)
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING CREDITS ChangeLog INSTALL NEWS README TODO $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING CREDITS ChangeLog INSTALL NEWS README TODO \
+ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION
find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 644 {} \;